mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 23:38:10 +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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user