Added cumulative timing for TEs and cumulative amount too.

This commit is contained in:
ProfMobius committed 2014-04-15 19:02:24 +02:00
1 parent 58ef4c9ca8
commit dcf6674397
15 files changed
+439 -37

No files matched your search

@@ -131,6 +131,10 @@ public class ServerMessageHandler {
OpisPacketHandler.validateAndSend(NetDataList.create(Message.LIST_AMOUNT_ENTITIES, ents), (Player)player);
}
else if (maintype == Message.LIST_AMOUNT_TILEENTS){
OpisPacketHandler.validateAndSend(NetDataList.create(Message.LIST_AMOUNT_TILEENTS, TileEntityManager.INSTANCE.getCumulativeAmountTileEntities()), (Player)player);
}
else if (maintype == Message.COMMAND_FILTERING_TRUE){
PlayerTracker.instance().filteredAmount.put(name, true);
}