From f2814825764ed61e2bccc92aa1a608ea1a6d4f71 Mon Sep 17 00:00:00 2001 From: EERussianguy Date: Sun, 21 Apr 2024 15:42:24 -0400 Subject: [PATCH] fix crash --- CHANGELOG.md | 1 + .../java/com/eerussianguy/firmalife/mixin/BarrelRackMixin.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6330d834..c88d7f21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +This build fixes a crash bug in the previous build. The previous changelog is reprinted here for your reference. ### Changes diff --git a/src/main/java/com/eerussianguy/firmalife/mixin/BarrelRackMixin.java b/src/main/java/com/eerussianguy/firmalife/mixin/BarrelRackMixin.java index 52c18110..6d6d3fa1 100644 --- a/src/main/java/com/eerussianguy/firmalife/mixin/BarrelRackMixin.java +++ b/src/main/java/com/eerussianguy/firmalife/mixin/BarrelRackMixin.java @@ -14,7 +14,7 @@ @Mixin(BarrelRackBlock.class) public class BarrelRackMixin { - @Inject(method = "canBeReplaced", at = @At("HEAD"), remap = false, cancellable = true) + @Inject(method = "canBeReplaced", at = @At("HEAD"), cancellable = true) private void inject$canBeReplaced(BlockState state, BlockPlaceContext context, CallbackInfoReturnable cir) { if (context.getItemInHand().getItem() instanceof BlockItem bi && bi.getBlock() instanceof CheeseWheelBlock)