forked from ChomeNS/chomens-bot-java
i forgor this one thing
This commit is contained in:
parent
cd5d3d9132
commit
57a97ba2e5
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ public class PlayersPlugin extends Bot.Listener {
|
|||
|
||||
final MutablePlayerListEntry target = new MutablePlayerListEntry(newEntry);
|
||||
|
||||
list.add(target);
|
||||
|
||||
if (duplicate == null) for (Listener listener : listeners) { listener.playerJoined(target); }
|
||||
else for (Listener listener : listeners) { listener.playerUnVanished(target); }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue