diff --git a/CraftBukkit-Patches/0020-Netty.patch b/CraftBukkit-Patches/0020-Netty.patch index 55e1007..64e47db 100644 --- a/CraftBukkit-Patches/0020-Netty.patch +++ b/CraftBukkit-Patches/0020-Netty.patch @@ -1,4 +1,4 @@ -From d2b8cad032a404f71688ca5e3b3da784c4238aeb Mon Sep 17 00:00:00 2001 +From 79f7630a225a228fe0a5b64517a1c6eb62035aed Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 23 Apr 2013 11:47:32 +1000 Subject: [PATCH] Netty @@ -1049,7 +1049,7 @@ index 0000000..a3b86b8 +} diff --git a/src/main/java/org/spigotmc/netty/OutboundManager.java b/src/main/java/org/spigotmc/netty/OutboundManager.java new file mode 100644 -index 0000000..a7cef7c +index 0000000..c0541b6 --- /dev/null +++ b/src/main/java/org/spigotmc/netty/OutboundManager.java @@ -0,0 +1,18 @@ @@ -1066,8 +1066,8 @@ index 0000000..a7cef7c + + public void flush(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception { + if (System.currentTimeMillis() - lastFlush > FLUSH_TIME) { -+ ctx.flush(promise); + lastFlush = System.currentTimeMillis(); ++ ctx.flush(promise); + } + } +}