Refactor spawn reporting (#1519)

Not all that could be done for now
This commit is contained in:
altrisi authored and GitHub committed 2023-07-28 20:57:48 +02:00
1 parent efddb904a0
commit fbe37017c5
7 files changed
+203 -235

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ public class CarpetServer // static for now - easier to handle all around the co
{
CarpetServer.minecraft_server = server;
// shoudl not be needed - that bit needs refactoring, but not now.
SpawnReporter.reset_spawn_stats(server, true);
SpawnReporter.resetSpawnStats(server, true);
forEachManager(sm -> sm.attachServer(server));
extensions.forEach(e -> e.onServerLoaded(server));