Input fix

This commit is contained in:
Anuken 2018-11-02 20:57:13 -04:00
parent de23ef5d35
commit 329f656c40

View File

@ -92,7 +92,7 @@ public class MobileInput extends InputHandler implements GestureListener{
Tile tile = world.tileWorld(x, y);
if(tile != null) tile = tile.target();
if(tile != null && state.teams.areEnemies(player.getTeam(), tile.getTeam())){
if(tile != null && tile.synthetic() && state.teams.areEnemies(player.getTeam(), tile.getTeam())){
TileEntity entity = tile.entity;
player.setMineTile(null);
player.target = entity;