summaryrefslogtreecommitdiffstats
path: root/nms-patches/PacketStatusListener.patch
diff options
context:
space:
mode:
authorThinkofname <thinkofdeath@spigotmc.org>2016-03-30 20:50:59 +0100
committerThinkofname <thinkofdeath@spigotmc.org>2016-03-30 21:06:51 +0100
commit6e527e5b884902df883eb1a3d594ba4dc5147962 (patch)
treec066763146d5c5bb50bdf6c6896f8490c884b3df /nms-patches/PacketStatusListener.patch
parent7fc5cd856e46182e727f383a911ffa46326611f1 (diff)
downloadcraftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar.gz
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar.lz
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.tar.xz
craftbukkit-6e527e5b884902df883eb1a3d594ba4dc5147962.zip
Update to Minecraft 1.9.2
Diffstat (limited to 'nms-patches/PacketStatusListener.patch')
-rw-r--r--nms-patches/PacketStatusListener.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/PacketStatusListener.patch b/nms-patches/PacketStatusListener.patch
index 408a67d8..f8d73f79 100644
--- a/nms-patches/PacketStatusListener.patch
+++ b/nms-patches/PacketStatusListener.patch
@@ -109,8 +109,8 @@
+ int version = minecraftServer.getServerPing().getServerData().getProtocolVersion();
+ if (this.networkManager.channel.pipeline().get(PacketEncoder.class).version == 108) {
+ version = 108;
-+ } else if (this.networkManager.channel.pipeline().get(PacketEncoder.class).version == 109) {
-+ version = 109;
++ } else if (this.networkManager.channel.pipeline().get(PacketEncoder.class).version == 107) {
++ version = 107;
+ }
+ ping.setServerInfo(new ServerPing.ServerData(minecraftServer.getServerModName() + " " + minecraftServer.getVersion(), version));
+