mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-22 16:11:21 +01:00
Fix /dxl play command
This commit is contained in:
parent
9de40e2d1d
commit
a92212c0e3
@ -60,6 +60,7 @@ public class PlayCommand extends DCommand {
|
|||||||
Dungeon dungeon = plugin.getDungeonRegistry().get(args[1]);
|
Dungeon dungeon = plugin.getDungeonRegistry().get(args[1]);
|
||||||
if (dungeon == null) {
|
if (dungeon == null) {
|
||||||
MessageUtil.sendMessage(player, DMessage.ERROR_NO_SUCH_DUNGEON.getMessage(args[1]));
|
MessageUtil.sendMessage(player, DMessage.ERROR_NO_SUCH_DUNGEON.getMessage(args[1]));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DGroup group = (DGroup) dPlayer.getGroup();
|
DGroup group = (DGroup) dPlayer.getGroup();
|
||||||
|
Loading…
Reference in New Issue
Block a user