SPIGOT-4755: Client freeze when joining world

This commit is contained in:
md_5 2019-04-26 09:37:15 +10:00
parent a9ed334643
commit 3e700e04e9

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
}