mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +01:00
Remove player from DGroup when he leaves the game
This commit is contained in:
parent
dd6eed6d93
commit
1e7e44f224
@ -491,6 +491,9 @@ public class PlayerListener implements Listener {
|
||||
|
||||
} else if (dPlayer instanceof DEditPlayer) {
|
||||
dPlayer.leave();
|
||||
|
||||
} else if (dGroup != null) {
|
||||
dGroup.removePlayer(player);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user