SPIGOT-4755: Client freeze when joining world

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2019-04-26 09:37:15 +10:00
parent 519f0e1153
commit 0e0ec84923

View File

@ -635,7 +635,7 @@
+ // entityplayer.playerConnection.sendPacket(new PacketPlayOutGameStateChange(7, worldserver.h(1.0F)));
+ // entityplayer.playerConnection.sendPacket(new PacketPlayOutGameStateChange(8, worldserver.f(1.0F)));
+ entityplayer.setPlayerWeather(org.bukkit.WeatherType.DOWNFALL, false);
+ entityplayer.updateWeather(-worldserver.j, worldserver.j, -worldserver.l, worldserver.l);
+ entityplayer.updateWeather(-worldserver.l, worldserver.l, -worldserver.n, worldserver.n);
+ // CraftBukkit end
}