mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-03 06:57:58 +01:00
Fix editor sometimes closing. Bump version number
This commit is contained in:
parent
a58b51b469
commit
1ab2ab4f02
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
|
||||
<groupId>me.blackvein.quests</groupId>
|
||||
<artifactId>quests</artifactId>
|
||||
<version>2.9.4</version>
|
||||
<version>2.9.5</version>
|
||||
<name>quests</name>
|
||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -733,7 +733,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
|
||||
@Override
|
||||
public String getPromptText(ConversationContext context) {
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorBreakBlocksPrompt");
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockDurability");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -853,6 +853,9 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
}
|
||||
context.setSessionData(pref + CK.S_DAMAGE_DURABILITY, elements);
|
||||
return new DamageBlockListPrompt();
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new DamageBlockListPrompt();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
@ -945,7 +948,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
|
||||
@Override
|
||||
public String getPromptText(ConversationContext context) {
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorDamageBlocksPrompt");
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockDurability");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -1065,6 +1068,9 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
}
|
||||
context.setSessionData(pref + CK.S_PLACE_DURABILITY, elements);
|
||||
return new PlaceBlockListPrompt();
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new PlaceBlockListPrompt();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
@ -1157,7 +1163,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
|
||||
@Override
|
||||
public String getPromptText(ConversationContext context) {
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorPlaceBlocksPrompt");
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockDurability");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -1276,6 +1282,9 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
elements.add(0);
|
||||
}
|
||||
context.setSessionData(pref + CK.S_USE_DURABILITY, elements);
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new UseBlockListPrompt();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
@ -1368,7 +1377,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
|
||||
@Override
|
||||
public String getPromptText(ConversationContext context) {
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorUseBlocksPrompt");
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockDurability");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -1488,6 +1497,9 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
}
|
||||
context.setSessionData(pref + CK.S_CUT_DURABILITY, elements);
|
||||
return new CutBlockListPrompt();
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new CutBlockListPrompt();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
@ -1580,7 +1592,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
|
||||
@Override
|
||||
public String getPromptText(ConversationContext context) {
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorCutBlocksPrompt");
|
||||
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockDurability");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -272,12 +272,13 @@ public class Lang {
|
||||
langMap.put("stageEditorCustomAlreadyAdded", "That custom objective has already been added!");
|
||||
langMap.put("stageEditorCustomCleared", "Custom objectives cleared.");
|
||||
langMap.put("stageEditorCustomDataPrompt", "Enter value for <data>:");
|
||||
langMap.put("stageEditorEnterBlockNames", "Enter block names, separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorBreakBlocksPrompt", "Enter block amounts (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorEnterBlockNames", "Enter block names (or IDs), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorBreakBlocksPrompt", "Enter break amounts (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorDamageBlocksPrompt", "Enter damage amounts (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorPlaceBlocksPrompt", "Enter place amounts (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorUseBlocksPrompt", "Enter use amounts (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorCutBlocksPrompt", "Enter cut amounts (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorEnterBlockDurability", "Enter block durability (numbers), separating each one by a space, or enter \'cancel\' to return.");
|
||||
langMap.put("stageEditorCatchFishPrompt", "Enter number of fish to catch, or 0 to clear the fish catch objective, or -1 to cancel");
|
||||
langMap.put("stageEditorKillPlayerPrompt", "Enter number of players to kill, or 0 to clear the player kill objective, or -1 to cancel");
|
||||
langMap.put("stageEditorEnchantTypePrompt", "Enter enchantment names, separating each one by a comma, or enter \'cancel\' to return.");
|
||||
|
Loading…
Reference in New Issue
Block a user