mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-26 04:36:06 +01:00
Stop editor sometimes closing, fixes #65
This commit is contained in:
parent
1ab2ab4f02
commit
8c858937d8
@ -852,7 +852,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
elements.add(0);
|
||||
}
|
||||
context.setSessionData(pref + CK.S_DAMAGE_DURABILITY, elements);
|
||||
return new DamageBlockListPrompt();
|
||||
return new CreateStagePrompt(stageNum, questFactory, citizens);
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new DamageBlockListPrompt();
|
||||
@ -1067,7 +1067,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
elements.add(0);
|
||||
}
|
||||
context.setSessionData(pref + CK.S_PLACE_DURABILITY, elements);
|
||||
return new PlaceBlockListPrompt();
|
||||
return new CreateStagePrompt(stageNum, questFactory, citizens);
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new PlaceBlockListPrompt();
|
||||
@ -1282,6 +1282,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
elements.add(0);
|
||||
}
|
||||
context.setSessionData(pref + CK.S_USE_DURABILITY, elements);
|
||||
return new CreateStagePrompt(stageNum, questFactory, citizens);
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new UseBlockListPrompt();
|
||||
@ -1496,7 +1497,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
|
||||
elements.add(0);
|
||||
}
|
||||
context.setSessionData(pref + CK.S_CUT_DURABILITY, elements);
|
||||
return new CutBlockListPrompt();
|
||||
return new CreateStagePrompt(stageNum, questFactory, citizens);
|
||||
} else {
|
||||
context.getForWhom().sendRawMessage(ChatColor.RED + Lang.get("stageEditorListNotSameSize"));
|
||||
return new CutBlockListPrompt();
|
||||
|
Loading…
Reference in New Issue
Block a user