This commit is contained in:
parent
380276f266
commit
0972c1a916
2 changed files with 4 additions and 3 deletions
|
@ -116,7 +116,7 @@ public class TextCommands {
|
|||
|
||||
}
|
||||
|
||||
MessagePacket packet = new MessagePacket(started ? (cancel ? "[Server] Setup canceled.." : "[Server] Starting setup..") : "[Server] Failed to start setup... (There might be one running)");
|
||||
MessagePacket packet = new MessagePacket((started || cancel) ? (cancel ? "[Server] Setup canceled.." : "[Server] Starting setup..") : "[Server] Failed to start setup... (There might be one running)");
|
||||
packet.setupAndSend(channelHandlerContext);
|
||||
|
||||
if (started){
|
||||
|
|
|
@ -97,9 +97,10 @@ public class regionSetup extends Setup {
|
|||
if (step==2)
|
||||
name=value;
|
||||
if (step==3) {
|
||||
if (value.equalsIgnoreCase("y") || value.equalsIgnoreCase("yes"))
|
||||
if (value.equalsIgnoreCase("y") || value.equalsIgnoreCase("yes")) {
|
||||
step_hints.add("Please enter player id...");
|
||||
else
|
||||
steps.add(0,()->{});
|
||||
} else
|
||||
step_hints.add("Region creation complete");
|
||||
}
|
||||
if (step==4)
|
||||
|
|
Loading…
Reference in a new issue