mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Prevent multiple groups from being called "Tutorial"
This commit is contained in:
parent
1d771d7df7
commit
7cdb5f9329
@ -543,7 +543,7 @@ public class DGlobalPlayer implements GlobalPlayer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DGroup dGroup = new DGroup(plugin, "Tutorial", player, dungeon);
|
DGroup dGroup = new DGroup(plugin, player, dungeon);
|
||||||
|
|
||||||
GroupCreateEvent createEvent = new GroupCreateEvent(dGroup, this, GroupCreateEvent.Cause.GROUP_SIGN);
|
GroupCreateEvent createEvent = new GroupCreateEvent(dGroup, this, GroupCreateEvent.Cause.GROUP_SIGN);
|
||||||
Bukkit.getPluginManager().callEvent(createEvent);
|
Bukkit.getPluginManager().callEvent(createEvent);
|
||||||
|
Loading…
Reference in New Issue
Block a user