mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 20:52:14 +00:00
Removed display of global ent update (was profiling the profiler).
Added priviliged user list.
This commit is contained in:
1 parent
5235f61f83
commit
aadf0f736f
11 files changed
+305
-264
No files matched your search
@@ -17,9 +17,22 @@ public class PlayerTracker implements IPlayerTracker{
|
||||
public HashSet<EntityPlayer> playersOpis = new HashSet<EntityPlayer>(); //This is the list of players who have opened the UI or used the command line
|
||||
public HashMap<String, Boolean> filteredAmount = new HashMap<String, Boolean>(); //Should the entity amount be filtered or not
|
||||
public HashMap<Player, OverlayStatus> playerOverlayStatus = new HashMap<Player, OverlayStatus>();
|
||||
public HashMap<Player, Integer> playerDimension = new HashMap<Player, Integer>();
|
||||
public HashMap<Player, Integer> playerDimension = new HashMap<Player, Integer>();
|
||||
private HashSet<String> playerPriviliged = new HashSet<String>();
|
||||
|
||||
|
||||
public void addPriviligedPlayer(String name){
|
||||
this.playerPriviliged.add(name);
|
||||
}
|
||||
|
||||
public void rmPriviligedPlayer(String name){
|
||||
this.playerPriviliged.remove(name);
|
||||
}
|
||||
|
||||
public boolean isPlayerPriviliged(String name){
|
||||
return this.playerPriviliged.contains(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlayerLogin(EntityPlayer player) {
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user