SPIGOT-5849: Constantly Raining in World 1.16

This commit is contained in:
Parker Hawke 2020-06-29 08:25:59 +10:00 committed by md_5
parent d77f4d9bf3
commit 1a3363dbe6
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -900,9 +900,9 @@
+ }
+
+ if (type == WeatherType.DOWNFALL) {
+ this.playerConnection.sendPacket(new PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.b, 0));
+ } else {
+ this.playerConnection.sendPacket(new PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.c, 0));
+ } else {
+ this.playerConnection.sendPacket(new PacketPlayOutGameStateChange(PacketPlayOutGameStateChange.b, 0));
+ }
+ }
+