mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 04:02:50 +01:00
Fixed decompile for loop handling
This commit is contained in:
parent
282fcb44ed
commit
873ce288c2
1 changed files with 7 additions and 7 deletions
|
@ -22,8 +22,9 @@ public class RemoteControlSession extends RemoteConnectionThread {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void run() {
|
public void run() {
|
||||||
while (true) {
|
// while (true) { // CraftBukkit - moved down
|
||||||
try {
|
try {
|
||||||
|
while (true) { // CraftBukkit - moved from above
|
||||||
if (!this.running) {
|
if (!this.running) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -90,18 +91,17 @@ public class RemoteControlSession extends RemoteConnectionThread {
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
} // CraftBukkit - Loop shift
|
||||||
} catch (Exception exception1) {
|
} catch (Exception exception1) {
|
||||||
System.out.println(exception1);
|
System.out.println(exception1);
|
||||||
return;
|
return;
|
||||||
} finally {
|
} finally {
|
||||||
this.f();
|
this.f();
|
||||||
}
|
}
|
||||||
|
// CraftBukkit - Loop shift
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void a(int i, int j, String s) {
|
private void a(int i, int j, String s) throws IOException { // CraftBukkit - throws IOException
|
||||||
ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream(1248);
|
ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream(1248);
|
||||||
DataOutputStream dataoutputstream = new DataOutputStream(bytearrayoutputstream);
|
DataOutputStream dataoutputstream = new DataOutputStream(bytearrayoutputstream);
|
||||||
|
|
||||||
|
@ -114,11 +114,11 @@ public class RemoteControlSession extends RemoteConnectionThread {
|
||||||
this.h.getOutputStream().write(bytearrayoutputstream.toByteArray());
|
this.h.getOutputStream().write(bytearrayoutputstream.toByteArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void e() {
|
private void e() throws IOException { // CraftBukkit - throws IOException
|
||||||
this.a(-1, 2, "");
|
this.a(-1, 2, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void a(int i, String s) {
|
private void a(int i, String s) throws IOException { // CraftBukkit - throws IOException
|
||||||
int j = s.length();
|
int j = s.length();
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in a new issue