bugfix 1
All checks were successful
/ Auto-Build-App (push) Successful in 2m2s

This commit is contained in:
pietru 2024-12-25 14:40:12 +01:00
parent 380276f266
commit 0972c1a916
2 changed files with 4 additions and 3 deletions

View file

@ -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); packet.setupAndSend(channelHandlerContext);
if (started){ if (started){

View file

@ -97,9 +97,10 @@ public class regionSetup extends Setup {
if (step==2) if (step==2)
name=value; name=value;
if (step==3) { if (step==3) {
if (value.equalsIgnoreCase("y") || value.equalsIgnoreCase("yes")) if (value.equalsIgnoreCase("y") || value.equalsIgnoreCase("yes")) {
step_hints.add("Please enter player id..."); step_hints.add("Please enter player id...");
else steps.add(0,()->{});
} else
step_hints.add("Region creation complete"); step_hints.add("Region creation complete");
} }
if (step==4) if (step==4)