Update InputHandler.java

This commit is contained in:
Anuken 2019-07-14 12:54:24 -04:00 committed by GitHub
parent 2a10562e9e
commit 61f903dcf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ public abstract class InputHandler implements InputProcessor{
}
public boolean validBreak(int x, int y){
return Build.validBreak(player.getTeam(), x, y) && Mathf.dst(player.x, player.y, x * tilesize, y * tilesize) < Player.placeDistance;
return Build.validBreak(player.getTeam(), x, y);
}
public void placeBlock(int x, int y, Block block, int rotation){