From 913c5a61f75648b725f1f0bd4fce60e29a5a6984 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 15 May 2017 15:01:05 +1000 Subject: SPIGOT-3242: Fix rain not showing client side --- nms-patches/WorldServer.patch | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nms-patches/WorldServer.patch b/nms-patches/WorldServer.patch index f9271fd7..35fe4e50 100644 --- a/nms-patches/WorldServer.patch +++ b/nms-patches/WorldServer.patch @@ -591,8 +591,12 @@ } } -@@ -983,6 +1235,7 @@ - boolean flag = this.Y(); +@@ -980,9 +1232,10 @@ + } + + protected void t() { +- boolean flag = this.Y(); ++ boolean flag = this.Y(); // PAIL: rename super.t(); + /* CraftBukkit start @@ -604,7 +608,7 @@ this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.q)); } + // */ -+ if (flag != this.X()) { ++ if (flag != this.Y()) { + // Only send weather packets to those affected + for (int i = 0; i < this.players.size(); ++i) { + if (((EntityPlayer) this.players.get(i)).world == this) { -- cgit v1.2.3