More Planets - Galacticraft Add-on

More Planets - Galacticraft Add-on

4M Downloads

Poor performance in SteveKunG-Lib's injectWeatherTickEvent

tie opened this issue ยท 2 comments

commented

adjustPosToNearbyEntity call in injectWeatherTickEvent seems to be loading chunks, and Minecraft keeps unloading them, causing significant performance degradation in the server thread.

https://spark.lucko.me/go5wnUNAJr?hl=26,25,52,50,59

Corresponding event handler:

@SubscribeEvent
public void onWeatherTick(WeatherTickEvent event)

cc @TheComputerizer as an interested party since I've encountered this issue in Dimensional Hopper modpack.

commented

Fixed in 2.3.2.