mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Fixed #10553
This commit is contained in:
parent
2fea619357
commit
ae75123d3e
1 changed files with 5 additions and 1 deletions
|
|
@ -638,7 +638,11 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
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);
|
||||
Events.fire(new ConfigEvent(build, player, value));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue