Merge particle caches (#1528)
* Merge particle caches * Reset this cache on world reload
This commit is contained in:
1 parent
3050a82b96
commit
914e129f6e
3 files changed
+25
-31
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user