mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 01:47:42 +01:00
Fixed potential infinite loop in RCON handling. Fixes BUKKIT-1570
This commit is contained in:
parent
873ce288c2
commit
3df6608a72
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user