Gay crash
This commit is contained in:
parent
154a55e961
commit
587c3e329f
|
@ -324,8 +324,10 @@ public class MinecraftServer implements Runnable {
|
|||
}
|
||||
|
||||
BindTo var13 = this.bindTo;
|
||||
NetworkHandler var2 = new NetworkHandler(8080);
|
||||
var13.c.add(var2);
|
||||
if(!NetworkHandler.gay) {
|
||||
NetworkHandler var2 = new NetworkHandler(25565);
|
||||
var13.c.add(var2);
|
||||
}
|
||||
|
||||
for(int var17 = 0; var17 < var13.c.size(); ++var17) {
|
||||
NetworkHandler var15 = (NetworkHandler)var13.c.get(var17);
|
||||
|
|
|
@ -20,15 +20,18 @@ public final class NetworkHandler {
|
|||
private boolean h = false;
|
||||
public String address;
|
||||
private byte[] stringBytes = new byte[64];
|
||||
public static boolean gay = false;
|
||||
|
||||
|
||||
public NetworkHandler(int port) {
|
||||
gay = true;
|
||||
Log.setLog(new DummyLogger());
|
||||
try {
|
||||
WebSocketNetworkManager.startServer(port);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
WebSocketNetworkManager.startServer(port);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
throw new Error(e.getLocalizedMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public final void close() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user