mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-05 13:08:20 +07:00
Fix a random disconnect (#5292)
This almost never happens but since the flood uses this method extensively, everyone gets disconnected every hour or so so I fixed it myself.
This commit is contained in:
parent
265f38dcc6
commit
e22af83ed1
@ -628,6 +628,7 @@ public class Tile implements Position, QuadTreeObject, Displayable{
|
||||
|
||||
@Remote(called = Loc.server)
|
||||
public static void setTile(Tile tile, Block block, Team team, int rotation){
|
||||
if(tile == null) return;
|
||||
tile.setBlock(block, team, rotation);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user