diff --git a/src/main/java/grondag/canvas/mixin/MixinInventoryScreen.java b/src/main/java/grondag/canvas/mixin/MixinInventoryScreen.java index 4a472860..4ed8344d 100644 --- a/src/main/java/grondag/canvas/mixin/MixinInventoryScreen.java +++ b/src/main/java/grondag/canvas/mixin/MixinInventoryScreen.java @@ -38,7 +38,7 @@ public class MixinInventoryScreen { @Inject( method = "renderEntityInInventory", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;runAsFancy(Ljava/lang/Runnable;)V")) - private static void beforeRenderEntity(GuiGraphics guiGraphics, int i, int j, int k, Quaternionf quaternionf, Quaternionf quaternionf2, LivingEntity livingEntity, CallbackInfo ci) { + private static void beforeRenderEntity(GuiGraphics guiGraphics, float f, float g, int i, Vector3f vector3f, Quaternionf quaternionf, Quaternionf quaternionf2, LivingEntity livingEntity, CallbackInfo ci) { ContextFlagState.setRenderingEntityInGui(true); } }