remove client world no chunks check, misc

This commit is contained in:
Sen 2025-05-20 11:59:51 +02:00
parent 31dd9d6303
commit e6d16405c5
3 changed files with 1 additions and 7 deletions

View file

@ -1009,7 +1009,7 @@ public class Client implements IThreadListener {
}
if(this.open != null)
this.open.render();
else if(this.world == null || this.world.hasNoChunks() || this.charEditor)
else if(this.world == null || this.charEditor)
Drawing.drawScaled(this, Gui.DIRT_BACKGROUND);
if(Bind.INFO.isDown() && (this.open == null || !(this.open.selected instanceof client.gui.element.Field || this.open.selected instanceof Area)))
this.drawInfo();

View file

@ -7,7 +7,6 @@ import common.biome.Biome;
import common.block.Block;
import common.entity.Entity;
import common.init.Blocks;
import common.log.Log;
import common.tileentity.TileEntity;
import common.util.BlockPos;
import common.util.BoundingBox;
@ -28,7 +27,6 @@ public class EmptyChunk extends Chunk {
this.liquid = world.dimension.getLiquid();
this.liquidBlock = this.liquid.getBlock();
this.liquidMeta = this.liquidBlock.getMetaFromState(this.liquid);
Log.SYSTEM.info("See: %d", this.liquidY);
}
public int getHeight(int x, int z) {

View file

@ -960,8 +960,4 @@ public class WorldClient extends AWorldClient
public String getDebugLoadedEntities() {
return "" + this.entities.size();
}
public boolean hasNoChunks() {
return this.chunkListing.isEmpty();
}
}