Save file refactor / Changed sector size
This commit is contained in:
@@ -153,8 +153,6 @@ public class NetworkIO{
|
||||
|
||||
Player player = players[0];
|
||||
|
||||
//TODO !! use map name as the network map in Maps, so getMap() isn't null.
|
||||
|
||||
try(DataInputStream stream = new DataInputStream(is)){
|
||||
float timerTime = stream.readFloat();
|
||||
long timestamp = stream.readLong();
|
||||
@@ -194,7 +192,6 @@ public class NetworkIO{
|
||||
int width = stream.readShort();
|
||||
int height = stream.readShort();
|
||||
|
||||
//TODO send advanced map meta such as author, etc
|
||||
Map currentMap = new Map(map, new MapMeta(0, new ObjectMap<>(), width, height, null), true, () -> null);
|
||||
currentMap.meta.tags.clear();
|
||||
currentMap.meta.tags.putAll(tags);
|
||||
|
||||
Reference in New Issue
Block a user