From 7cdb5f9329cbeec17d64c856efa1f5a352557ad4 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Fri, 30 Oct 2020 17:11:06 +0100 Subject: [PATCH] Prevent multiple groups from being called "Tutorial" --- .../main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java b/core/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java index fda06b51..66bf4f89 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java +++ b/core/src/main/java/de/erethon/dungeonsxl/player/DGlobalPlayer.java @@ -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); Bukkit.getPluginManager().callEvent(createEvent);