Fix Redirect target in MixinRenderLivingBase for 1.15 (see #120)

For some reason this applied fine in a development environment (even though the
method signature changed significantly), hence why I didn't notice it being
broken. It did not work (just like one would expect) in a live environment.
This commit is contained in:
Jonas Herzig
2020-04-06 13:10:30 +02:00
parent b119d2d127
commit ee68a63233

View File

@@ -36,7 +36,11 @@ public abstract class MixinRenderLivingBase {
} }
@Redirect( @Redirect(
method = "render(Lnet/minecraft/entity/LivingEntity;FFFFFF)V", //#if MC>=11500
method = "render",
//#else
//$$ method = "render(Lnet/minecraft/entity/LivingEntity;FFFFFF)V",
//#endif
at = @At( at = @At(
value = "INVOKE", value = "INVOKE",
//#if MC>=11400 //#if MC>=11400