This commit is contained in:
Anuken
2025-04-04 12:11:51 -04:00
parent 2fea619357
commit ae75123d3e

View File

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