Fixed potential infinite loop in RCON handling. Fixes BUKKIT-1570

Dieser Commit ist enthalten in:
EvilSeph 2012-06-08 21:02:48 -04:00
Ursprung 873ce288c2
Commit 3df6608a72

Datei anzeigen

@ -84,12 +84,12 @@ public class RemoteControlSession extends RemoteConnectionThread {
}
}
} catch (SocketTimeoutException sockettimeoutexception) {
continue;
return; // CraftBukkit - shut down the thread after hitting an exception.
} catch (IOException ioexception) {
if (this.running) {
this.info("IO: " + ioexception.getMessage());
}
continue;
return; // CraftBukkit - shut down the thread after hitting an exception.
}
} // CraftBukkit - Loop shift
} catch (Exception exception1) {