update ClassLimitManager to provide a set of names of Players who have picked the provided ArenaClass. This will allow manipulating players of just a certain class more easily than before. One possibility is (mind you this is NOT implemented) adding potion effects to a class
This commit is contained in:
@@ -622,7 +622,7 @@ public class ArenaImpl implements Arena
|
||||
ArenaPlayer ap = arenaPlayerMap.get(p);
|
||||
if (inLobby(p)) {
|
||||
if (ap.getArenaClass() != null) {
|
||||
limitManager.playerLeftClass(ap.getArenaClass());
|
||||
limitManager.playerLeftClass(ap.getArenaClass(), ap.getPlayer());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user