Make player_list take arguments one at a time and make it compatible with loggers (#819)

* Make `player_list` take arguments one at a time and make it compatible with loggers

* Update docs for `player_list` modification
This commit is contained in:
altrisi authored and GitHub committed 2021-04-19 02:31:54 -03:00
1 parent b7b7667484
commit 1819694d19
4 files changed
+54 -55

No files matched your search

+2 -1
View File
@@ -112,7 +112,7 @@ public class CarpetServer implements ClientModInitializer,DedicatedServerModInit
public static void tick(MinecraftServer server)
{
TickSpeed.tick();
HUDController.update_hud(server);
HUDController.update_hud(server, false);
scriptServer.tick();
//in case something happens
@@ -180,6 +180,7 @@ public class CarpetServer implements ClientModInitializer,DedicatedServerModInit
currentCommandDispatcher = null;
LoggerRegistry.stopLoggers();
HUDController.resetScarpetHUDs();
extensions.forEach(e -> e.onServerClosed(server));
minecraft_server = null;
}