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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user