mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[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:
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
|
||||
|
||||
Reference in new issue
Block a user