*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

View file

@ -94,7 +94,7 @@ index bd0377a..73cb5b1 100644
try {
- this.r = new DedicatedServerConnection(this, inetaddress, this.G());
+ // 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 DedicatedServerConnection(this, inetaddress, this.G());
+ // Spigot end