Prevent multiple groups from being called "Tutorial"

This commit is contained in:
Daniel Saukel 2020-10-30 17:11:06 +01:00
parent 1d771d7df7
commit 7cdb5f9329

View File

@ -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);