diff --git a/core/src/main/java/me/blackvein/quests/convo/quests/main/QuestMainPrompt.java b/core/src/main/java/me/blackvein/quests/convo/quests/main/QuestMainPrompt.java index c44a5cd65..0917b72da 100644 --- a/core/src/main/java/me/blackvein/quests/convo/quests/main/QuestMainPrompt.java +++ b/core/src/main/java/me/blackvein/quests/convo/quests/main/QuestMainPrompt.java @@ -735,22 +735,6 @@ public class QuestMainPrompt extends QuestsEditorNumericPrompt { // Check/add newly made item if (context.getSessionData("tempStack") != null) { final ItemStack stack = (ItemStack) context.getSessionData("tempStack"); - // TODO - Delete this and questGUIError string - /*boolean failed = false; - for (final IQuest quest : plugin.getLoadedQuests()) { - if (quest.getGUIDisplay() != null) { - if (ItemUtil.compareItems(stack, quest.getGUIDisplay(), false) == 0) { - String error = Lang.get("questGUIError"); - error = error.replace("", ChatColor.DARK_PURPLE + quest.getName() + ChatColor.RED); - context.getForWhom().sendRawMessage(ChatColor.RED + error); - failed = true; - break; - } - } - } - if (!failed) { - context.setSessionData(CK.Q_GUIDISPLAY, context.getSessionData("tempStack")); - }*/ if (stack != null) { context.setSessionData(CK.Q_GUIDISPLAY, stack.clone()); } diff --git a/core/src/main/resources/strings.yml b/core/src/main/resources/strings.yml index 58daa93b4..45e64ac89 100644 --- a/core/src/main/resources/strings.yml +++ b/core/src/main/resources/strings.yml @@ -87,7 +87,6 @@ questWGSetRegion: "Set region start" questWGPrompt: "Enter WorldGuard region, , " questWGInvalidRegion: " is not a valid WorldGuard region!" questWGRegionCleared: "Quest region cleared." -questGUIError: "Error: That item is already being used as the GUI display for the quest ." questCurrentItem: "Current item:" questGUICleared: "Quest GUI item display cleared." questDeleted: "Quest deleted! Quest and action data has been reloaded."