*crosses fingers for sneaky web edit

This commit is contained in:
md-5 2013-02-27 17:14:37 +11:00
parent d191b1171b
commit adc47e13e1
1 changed files with 1 additions and 1 deletions

View File

@ -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