privatize
This commit is contained in:
parent
515e0364f7
commit
f32147d9d5
@ -38,7 +38,7 @@ public final class BlockBreakHelper implements Helper {
|
||||
this.playerContext = playerContext;
|
||||
}
|
||||
|
||||
public void tryBreakBlock(BlockPos pos, EnumFacing side) {
|
||||
private void tryBreakBlock(BlockPos pos, EnumFacing side) {
|
||||
if (playerContext.playerController().onPlayerDamageBlock(pos, side)) {
|
||||
playerContext.player().swingArm(EnumHand.MAIN_HAND);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user