Fix CustomCommandListener NPE
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
d43e4cd10c
Commit
359cec00c1
@ -182,6 +182,7 @@ public class CustomCommandListener implements Listener {
|
||||
}
|
||||
|
||||
private YAPIONObject output(Player p) {
|
||||
if (!playerMap.containsKey(p)) return new YAPIONObject();
|
||||
YAPIONObject yapionObject = new YAPIONObject();
|
||||
YAPIONMap yapionMap = new YAPIONMap();
|
||||
yapionObject.add("", yapionMap);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren