retire static TickSpeed. Use Server and Client synchronization agents.

This commit is contained in:
gnembon committed 2023-05-17 21:20:00 +02:00
1 parent d0a7967218
commit c6f52b3293
28 files changed
+511 -419

No files matched your search

@@ -20,7 +20,7 @@ public class ServerFunctionManager_tickMixin
@Inject(method = "tick", at = @At("HEAD"), cancellable = true)
private void beforeDatapacks(CallbackInfo ci)
{
if (! ((MinecraftServerInterface)server).getTickRateManager().process_entities())
if (! ((MinecraftServerInterface)server).getTickRateManager().runsNormally())
{
ci.cancel();
}