Added tick & player handlers to the server to keep track of players and send updates when required.

Client can request a chunk status update (Packet0x02)
OverlayLoadedchunk is now a singleton and will send a request packet when activated.
Player status is saved in the server proxy.
ChunkData is a "static" class to gather chunk related data (loaded chunks for now).
This commit is contained in:
ProfMobius committed 2013-10-28 00:13:05 +01:00
1 parent a04e7bb8fb
commit e676b8dc23
11 files changed
+198 -6

No files matched your search

+1 -1
View File
@@ -7,6 +7,6 @@ public class ProxyClient extends ProxyServer {
@Override
public void init(){
MwAPI.registerDataProvider("Loaded chunks", new OverlayLoadedChunks());
MwAPI.registerDataProvider("Loaded chunks", OverlayLoadedChunks.instance);
}
}