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) @Mixin(ServerChunkManager.class)
public abstract class ServerChunkManager_tickMixin public abstract class ServerChunkManager_tickMixin
{ {
/*
@Shadow @Final private ServerWorld world; @Shadow @Final private ServerWorld world;
CarpetProfiler.ProfilerToken currentSection; CarpetProfiler.ProfilerToken currentSection;
@Inject(method = "tick(Ljava/util/function/BooleanSupplier;)V", at = @At( @Inject(method = "tick(Ljava/util/function/BooleanSupplier;)V", at = @At(
@@ -64,7 +66,7 @@ public abstract class ServerChunkManager_tickMixin
{ {
CarpetProfiler.end_current_section(currentSection); CarpetProfiler.end_current_section(currentSection);
} }
} }*/
//// Tick freeze //// Tick freeze
@Redirect(method = "tickChunks", at = @At( @Redirect(method = "tickChunks", at = @At(
-1
View File
@@ -75,7 +75,6 @@
"PlayerEntityMixin" "PlayerEntityMixin"
], ],
"client": [ "client": [
"DebugHudMixin",
"MinecraftClientMixin", "MinecraftClientMixin",
"IntegratedServerMixin", "IntegratedServerMixin",
"InGameHudMixin", "InGameHudMixin",