Crash fixes / Resource-steal fixed / No-build while shooting fixed

This commit is contained in:
Anuken
2018-08-14 12:16:21 -04:00
parent 2ae5c96690
commit 59ec09e82c
7 changed files with 15 additions and 18 deletions

View File

@@ -189,6 +189,7 @@ public class NetworkIO{
Map currentMap = new Map(map, new MapMeta(0, new ObjectMap<>(), width, height, null), true, () -> null);
currentMap.meta.tags.clear();
currentMap.meta.tags.putAll(tags);
world.setSector(null);
world.setMap(currentMap);
Tile[][] tiles = world.createTiles(width, height);