privatize

This commit is contained in:
Leijurv 2019-07-17 22:41:09 -07:00
parent 515e0364f7
commit f32147d9d5
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -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);
}