mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-05 02:09:48 +01:00
Leave on Disconnect
This commit is contained in:
parent
f97db1ed19
commit
08a8b31da0
@ -318,6 +318,8 @@ public class PlayerListener implements Listener {
|
||||
} else {
|
||||
dPlayer.msg(p.language.get("Player_OfflineNeverKick", dPlayer.player.getName()));
|
||||
}
|
||||
} else if (dPlayer.isEditing) {
|
||||
dPlayer.leave();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user