Implemented JPS badly

This commit is contained in:
Anuken
2018-04-20 19:55:41 -04:00
parent 68bfd3017b
commit 4261e6242c
23 changed files with 338 additions and 284 deletions

View File

@@ -130,6 +130,8 @@ public class NetworkIO {
player.isAdmin = admin;
player.add();
world.beginMapLoad();
//map
int width = stream.readShort();
int height = stream.readShort();
@@ -169,6 +171,8 @@ public class NetworkIO {
player.set(world.getSpawnX(), world.getSpawnY());
world.endMapLoad();
}catch (IOException e){
throw new RuntimeException(e);
}