mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-26 18:21:35 +01:00
SPIGOT-4755: Client freeze when joining world
By: md_5 <git@md-5.net>
This commit is contained in:
parent
519f0e1153
commit
0e0ec84923
@ -635,7 +635,7 @@
|
|||||||
+ // entityplayer.playerConnection.sendPacket(new PacketPlayOutGameStateChange(7, worldserver.h(1.0F)));
|
+ // entityplayer.playerConnection.sendPacket(new PacketPlayOutGameStateChange(7, worldserver.h(1.0F)));
|
||||||
+ // entityplayer.playerConnection.sendPacket(new PacketPlayOutGameStateChange(8, worldserver.f(1.0F)));
|
+ // entityplayer.playerConnection.sendPacket(new PacketPlayOutGameStateChange(8, worldserver.f(1.0F)));
|
||||||
+ entityplayer.setPlayerWeather(org.bukkit.WeatherType.DOWNFALL, false);
|
+ 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
|
+ // CraftBukkit end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user