More refactor

This commit is contained in:
Aleksey 2021-04-18 13:35:25 +03:00
parent 01391537fe
commit 071fae7ba5
2 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ public class MinecraftServerMixin {
@Inject(method = "loadLevel", at = @At(value = "RETURN"), cancellable = true)
private void be_loadLevel(CallbackInfo info) {
be_injectRecipes();
EndBiomes.initRegistry((MinecraftServer) (Object) this);
EndBiomes.initRegistry(MinecraftServer.class.cast(this));
}
@Inject(method = "overworld", at = @At(value = "HEAD"), cancellable = true)