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;