Skip to content

Commit

Permalink
Fixed #325
Browse files Browse the repository at this point in the history
  • Loading branch information
wdog5734 committed Oct 17, 2024
1 parent 7e33213 commit 61667d9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,6 @@ public void handleBlockBreakAction(BlockPos blockposition, ServerboundPlayerActi
@Unique
private final AtomicReference<BlockBreakEvent> banner$event = new AtomicReference<>();

@Inject(method = "destroyBlock", at = @At("RETURN"))
private void banner$clearDrops(BlockPos blockPos, CallbackInfoReturnable<Boolean> cir) {
this.level.banner$setCaptureDrops(null);
}

@Inject(method = "destroyBlock", at = @At("HEAD"), cancellable = true)
private void banner$fireBreakEvent(BlockPos blockposition, CallbackInfoReturnable<Boolean> cir) {
BlockState iblockdata = this.level.getBlockState(blockposition);
Expand Down

0 comments on commit 61667d9

Please sign in to comment.