From 0055cbf80669c9554b28297fc038c232320e0646 Mon Sep 17 00:00:00 2001 From: Sen Date: Fri, 23 May 2025 09:36:57 +0200 Subject: [PATCH] remove some old comments --- common/src/common/world/Chunk.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/common/src/common/world/Chunk.java b/common/src/common/world/Chunk.java index c393786..9feacdc 100755 --- a/common/src/common/world/Chunk.java +++ b/common/src/common/world/Chunk.java @@ -272,8 +272,6 @@ public class Chunk { } private void recheckGaps(boolean single) { -// this.world.profiler.start("recheckGaps"); - if(this.world.isAreaLoaded(new BlockPos(this.xPos * 16 + 8, 0, this.zPos * 16 + 8), 16)) { for(int x = 0; x < 16; ++x) { for(int z = 0; z < 16; ++z) { @@ -296,7 +294,6 @@ public class Chunk { } if(single) { -// this.world.profiler.end(); return; } } @@ -305,8 +302,6 @@ public class Chunk { this.gapUpdate = false; } - -// this.world.profiler.end(); } private void checkNeighbor(int x, int z, int max) { @@ -788,17 +783,9 @@ public class Chunk { } public boolean isDirty(long time) { -// if (all) -// { - if(this.hasEntity && time /* this.world.getTime() */ != this.lastSave || this.modified) { + if(this.hasEntity && time != this.lastSave || this.modified) { return true; } -// } -// else if (this.hasEntity && this.world.getTime() >= this.lastSave + 600L) -// { -// return true; -// } - return this.modified; }