*crosses fingers for sneaky web edit
This commit is contained in:
parent
d191b1171b
commit
adc47e13e1
|
@ -94,7 +94,7 @@ index bd0377a..73cb5b1 100644
|
||||||
try {
|
try {
|
||||||
- this.r = new DedicatedServerConnection(this, inetaddress, this.G());
|
- this.r = new DedicatedServerConnection(this, inetaddress, this.G());
|
||||||
+ // Spigot start
|
+ // Spigot start
|
||||||
+ this.r = (Boolean.getBoolean("org.spigotmc.netty.enabled"))
|
+ this.r = (!Boolean.getBoolean("org.spigotmc.netty.disabled"))
|
||||||
+ ? new org.spigotmc.netty.NettyServerConnection(this, inetaddress, this.G())
|
+ ? new org.spigotmc.netty.NettyServerConnection(this, inetaddress, this.G())
|
||||||
+ : new DedicatedServerConnection(this, inetaddress, this.G());
|
+ : new DedicatedServerConnection(this, inetaddress, this.G());
|
||||||
+ // Spigot end
|
+ // Spigot end
|
||||||
|
|
Loading…
Reference in New Issue