LH пре 11 месеци
родитељ
комит
71639af9e8
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      QuickStuff/src/main/java/GPN/BotGame.java

+ 6 - 1
QuickStuff/src/main/java/GPN/BotGame.java

@@ -176,12 +176,17 @@ public class BotGame {
         submöse=0;
         returnMsgs.add("join|Red5|mösenpilze-8=====D-fdewcugewgw");
         try {
-            Socket sck=new Socket(InetAddress.getByName("2a0e:c5c1:0:20d:29a9:3142:d2da:33fd"), 4000);
+            Socket sck=new Socket("gpn-tron.duckdns.org", 4000);
             BufferedReader r = new BufferedReader(new InputStreamReader(sck.getInputStream()));
             PrintStream out = new PrintStream(sck.getOutputStream(),true,"UTF-8");
             Thread t = new Thread(()->{
                 while(sck.isConnected())
                 {
+                    if(boards==null)
+                    {
+                        kill=true;
+                        respawn=true;
+                    }
                     if(kill)
                     {
                         return;