Added ability to hide players (/map hide, /map hide playername(s) and /map show).

This commit is contained in:
FrozenCow 2011-01-20 22:56:39 +01:00
parent 68412ae27d
commit 6419469be3
6 changed files with 117 additions and 12 deletions

View file

@ -16,6 +16,7 @@ public class MapManager extends Thread {
private Debugger debugger;
private MapType map;
public StaleQueue staleQueue;
public PlayerList playerList;
/* lock for our data structures */
public static final Object lock = new Object();
@ -55,6 +56,7 @@ public class MapManager extends Thread {
if (!tileDirectory.isDirectory())
tileDirectory.mkdirs();
map = new KzedMap(this, world, debugger, configuration);
}