Fixed #10553
This commit is contained in:
@@ -638,7 +638,11 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||||||
player.con.send(packet, true);
|
player.con.send(packet, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new ValidateException(player, "Player cannot configure a tile.");
|
if(!player.isLocal()){
|
||||||
|
throw new ValidateException(player, "Player cannot configure a tile.");
|
||||||
|
}else{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
build.configured(player == null || player.dead() ? null : player.unit(), value);
|
build.configured(player == null || player.dead() ? null : player.unit(), value);
|
||||||
Events.fire(new ConfigEvent(build, player, value));
|
Events.fire(new ConfigEvent(build, player, value));
|
||||||
|
|||||||
Reference in New Issue
Block a user