Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
eerussianguy committed Apr 21, 2024
1 parent d6e9e5d commit f281482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
This build fixes a crash bug in the previous build. The previous changelog is reprinted here for your reference.

### Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Boolean> cir)
{
if (context.getItemInHand().getItem() instanceof BlockItem bi && bi.getBlock() instanceof CheeseWheelBlock)
Expand Down

0 comments on commit f281482

Please sign in to comment.