mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
*crosses fingers for sneaky web edit
This commit is contained in:
parent
d191b1171b
commit
adc47e13e1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue