mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
Fixed potential infinite loop in RCON handling. Fixes BUKKIT-1570
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user