[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
2012-01-31 13:54:15 -06:00
committed by EvilSeph
parent 028cbb8fe9
commit 37c8868532
4 changed files with 82 additions and 25 deletions

View File

@@ -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