Merge particle caches (#1528)

* Merge particle caches

* Reset this cache on world reload
This commit is contained in:
altrisi authored and GitHub committed 2023-01-20 13:56:16 +01:00
1 parent 3050a82b96
commit 914e129f6e
3 files changed
+25 -31

No files matched your search

+2
View File
@@ -20,6 +20,7 @@ import carpet.commands.TestCommand;
import carpet.commands.TickCommand;
import carpet.network.ServerNetworkHandler;
import carpet.helpers.HopperCounter;
import carpet.helpers.ParticleDisplay;
import carpet.helpers.TickSpeed;
import carpet.logging.LoggerRegistry;
import carpet.script.CarpetScriptServer;
@@ -194,6 +195,7 @@ public class CarpetServer // static for now - easier to handle all around the co
LoggerRegistry.stopLoggers();
HUDController.resetScarpetHUDs();
ParticleDisplay.resetCache();
extensions.forEach(e -> e.onServerClosed(server));
minecraft_server = null;
}