f3 hud menu defaults to fabric and disabled profiler for spawning and chunks due to fabric bug on servers

This commit is contained in:
gnembon committed 2019-06-04 10:13:03 -03:00
1 parent 5faa8754fb
commit 137e0db6c9
2 files changed
+3 -2

No files matched your search

@@ -19,7 +19,9 @@ import java.util.function.BooleanSupplier;
@Mixin(ServerChunkManager.class)
public abstract class ServerChunkManager_tickMixin
{
/*
@Shadow @Final private ServerWorld world;
CarpetProfiler.ProfilerToken currentSection;
@Inject(method = "tick(Ljava/util/function/BooleanSupplier;)V", at = @At(
@@ -64,7 +66,7 @@ public abstract class ServerChunkManager_tickMixin
{
CarpetProfiler.end_current_section(currentSection);
}
}
}*/
//// Tick freeze
@Redirect(method = "tickChunks", at = @At(