mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +01:00
Fixed group leave bug
This commit is contained in:
parent
b36be75a57
commit
3d7c18a327
@ -427,7 +427,7 @@ public class PlayerListener implements Listener {
|
||||
Player player = event.getPlayer();
|
||||
|
||||
// Check dPlayers
|
||||
DPlayer dPlayer = DPlayer.getByPlayer(player);
|
||||
DPlayer dPlayer = DPlayer.getByName(player.getName());
|
||||
if (dPlayer != null) {
|
||||
DGroup dGroup = DGroup.getByPlayer(dPlayer.getPlayer());
|
||||
if (dGroup != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user