From 888e6fe590ec32ed3c03b3784c48a6996f84271a Mon Sep 17 00:00:00 2001 From: SenseiKiwi Date: Mon, 15 Jul 2013 12:56:32 -0400 Subject: [PATCH] Fixed Bug in CommandEndDungeonCreation Fixed a simple bug that caused dd-export to ask the user to use 'override' even though it was already being used. --- .../mod_pocketDim/commands/CommandEndDungeonCreation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StevenDimDoors/mod_pocketDim/commands/CommandEndDungeonCreation.java b/StevenDimDoors/mod_pocketDim/commands/CommandEndDungeonCreation.java index a89abf1..9e1127c 100644 --- a/StevenDimDoors/mod_pocketDim/commands/CommandEndDungeonCreation.java +++ b/StevenDimDoors/mod_pocketDim/commands/CommandEndDungeonCreation.java @@ -78,7 +78,7 @@ public class CommandEndDungeonCreation extends DDCommandBase //The user must have used the 3-argument version of this command //Check if the current dimension is a pocket for building custom dungeons or if the override argument was used. - if (!dungeonHelper.isCustomDungeon(sender.worldObj.provider.dimensionId) || + if (!dungeonHelper.isCustomDungeon(sender.worldObj.provider.dimensionId) && !command[command.length - 1].equalsIgnoreCase("override")) { //This dimension may not be exported without overriding!