This commit is contained in:
gnembon committed 2023-10-25 19:09:20 +02:00
1 parent 1a7e8b6875
commit 382706a6df
23 files changed
+58 -224

No files matched your search

@@ -1,8 +1,6 @@
package carpet.mixins;
import carpet.fakes.LevelInterface;
import carpet.fakes.MinecraftServerInterface;
import carpet.helpers.TickRateManager;
import carpet.utils.CarpetProfiler;
import net.minecraft.core.Holder;
import net.minecraft.core.RegistryAccess;
@@ -28,12 +26,6 @@ public abstract class ServerLevel_tickMixin extends Level implements LevelInterf
super(writableLevelData, resourceKey, registryAccess, holder, supplier, bl, bl2, l, i);
}
@Override
public TickRateManager tickRateManager()
{
return ((MinecraftServerInterface)getServer()).getTickRateManager();
}
private CarpetProfiler.ProfilerToken currentSection;
@Inject(method = "tick", at = @At(