mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-13 22:25:48 +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();
|
Player player = event.getPlayer();
|
||||||
|
|
||||||
// Check dPlayers
|
// Check dPlayers
|
||||||
DPlayer dPlayer = DPlayer.getByPlayer(player);
|
DPlayer dPlayer = DPlayer.getByName(player.getName());
|
||||||
if (dPlayer != null) {
|
if (dPlayer != null) {
|
||||||
DGroup dGroup = DGroup.getByPlayer(dPlayer.getPlayer());
|
DGroup dGroup = DGroup.getByPlayer(dPlayer.getPlayer());
|
||||||
if (dGroup != null) {
|
if (dGroup != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user