Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaa-dev committed Mar 28, 2023
2 parents 3c766e1 + 55e0402 commit d9ebd6d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEnt
world.setBlockState(pos, state, 2);
world.emitGameEvent(GameEvent.BLOCK_CHANGE, pos, GameEvent.Emitter.of(player, state));
world.getPlayers().forEach(player1 -> player1.sendMessage(Text.literal(""), true));
}

if (player.isSneaking()) {

this.stopRecords(state, world, pos, player);
} else {
this.switchRecord(state, world, pos, player, hand, hit);
Expand Down

0 comments on commit d9ebd6d

Please sign in to comment.