Hibiii 4 年之前
父节点
当前提交
c01cf6810a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/umollu/ash/mixin/GameRendererMixin.java

+ 1 - 1
src/main/java/com/umollu/ash/mixin/GameRendererMixin.java

@@ -30,7 +30,7 @@ public class GameRendererMixin {
 			if(AshCommands.config.showFps) {
 				ashString += String.format("%d fps ", ((MinecraftClientMixin) MinecraftClient.getInstance()).getCurrentFps());
 			}
-			if(AshCommands.config.showCoords) {
+			if(AshCommands.config.showCoords && !client.hasReducedDebugInfo()) {
 				BlockPos blockPos = new BlockPos(cameraEntity.getX(), cameraEntity.getBoundingBox().getMin(Direction.Axis.Y), cameraEntity.getZ());
 				ashString += String.format("%d %d %d ", blockPos.getX(), blockPos.getY(), blockPos.getZ());
 			}