[Bleeding] Implemented Vanish API.

Remove players that cannot see a player from their EntityTrackerEntry and only
send user list updates to players who can see the player they reference.
This commit is contained in:
Travis Watkins authored and EvilSeph committed 2012-02-03 03:34:03 -05:00
1 parent 028cbb8fe9
commit 37c8868532
4 files changed
+82 -25

No files matched your search

@@ -8,7 +8,7 @@ import java.util.Set;
public class EntityTracker {
private Set a = new HashSet();
private IntHashMap trackedEntities = new IntHashMap();
public IntHashMap trackedEntities = new IntHashMap(); // CraftBukkit - private -> public
private MinecraftServer c;
private int d;
private World world; // CraftBukkit - change type