Remove player from DGroup when he leaves the game

This commit is contained in:
Daniel Saukel 2016-06-10 14:17:16 +02:00
parent dd6eed6d93
commit 1e7e44f224

View File

@ -491,6 +491,9 @@ public class PlayerListener implements Listener {
} else if (dPlayer instanceof DEditPlayer) {
dPlayer.leave();
} else if (dGroup != null) {
dGroup.removePlayer(player);
}
}