fixes, cmds

This commit is contained in:
Sen 2025-03-19 02:08:41 +01:00
parent 868a5ed9ea
commit c906760bd4
13 changed files with 295 additions and 134 deletions

View file

@ -294,7 +294,7 @@ public class Game implements IThreadListener {
public EntityNPC thePlayer;
public HitPosition pointed;
@Variable(name = "chunk_view_distance", category = CVarCategory.WORLD, min = 2, max = 128, callback = DistanceFunction.class, display = "Sichtweite", unit = "Chunks")
@Variable(name = "chunk_view_distance", category = CVarCategory.WORLD, min = 2, max = 16 /* 128 */, callback = DistanceFunction.class, display = "Sichtweite", unit = "Chunks")
public int renderDistance = 8;
@Variable(name = "chunk_build_time", category = CVarCategory.WORLD, min = 1, max = 100, display = "Max. Zeit für Chunk-Bau pro Frame", unit = "ms")
public int maxBuildTime = 8;
@ -2293,6 +2293,9 @@ public class Game implements IThreadListener {
}
}
}
else {
this.displayGuiScreen(GuiMenu.INSTANCE);
}
server = null;
}