Disable netty always - it will be fixed ASAP
This commit is contained in:
parent
990b604a30
commit
0f94ebdabe
1 changed files with 22 additions and 0 deletions
22
CraftBukkit-Patches/0060-Really-Disable-Netty.patch
Normal file
22
CraftBukkit-Patches/0060-Really-Disable-Netty.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
From 314e1a289073e5ffdd6853a686121a1eacaf6d53 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Tue, 2 Jul 2013 14:30:00 +1000
|
||||
Subject: [PATCH] Really Disable Netty
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
index ccbd6bc..fead3d5 100644
|
||||
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
|
||||
@@ -101,7 +101,7 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
|
||||
|
||||
try {
|
||||
// Spigot start
|
||||
- this.s = ( org.spigotmc.SpigotConfig.listeners.get( 0 ).netty )
|
||||
+ this.s = ( false )
|
||||
? new org.spigotmc.netty.NettyServerConnection( this, inetaddress, this.I() )
|
||||
: new DedicatedServerConnection( this, inetaddress, this.I() );
|
||||
// Spigot end
|
||||
--
|
||||
1.8.1.2
|
||||
|
Loading…
Reference in a new issue