remove some old comments
This commit is contained in:
parent
41fae1317f
commit
0055cbf806
1 changed files with 1 additions and 14 deletions
|
@ -272,8 +272,6 @@ public class Chunk {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void recheckGaps(boolean single) {
|
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)) {
|
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 x = 0; x < 16; ++x) {
|
||||||
for(int z = 0; z < 16; ++z) {
|
for(int z = 0; z < 16; ++z) {
|
||||||
|
@ -296,7 +294,6 @@ public class Chunk {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(single) {
|
if(single) {
|
||||||
// this.world.profiler.end();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -305,8 +302,6 @@ public class Chunk {
|
||||||
|
|
||||||
this.gapUpdate = false;
|
this.gapUpdate = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// this.world.profiler.end();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkNeighbor(int x, int z, int max) {
|
private void checkNeighbor(int x, int z, int max) {
|
||||||
|
@ -788,17 +783,9 @@ public class Chunk {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isDirty(long time) {
|
public boolean isDirty(long time) {
|
||||||
// if (all)
|
if(this.hasEntity && time != this.lastSave || this.modified) {
|
||||||
// {
|
|
||||||
if(this.hasEntity && time /* this.world.getTime() */ != this.lastSave || this.modified) {
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
// else if (this.hasEntity && this.world.getTime() >= this.lastSave + 600L)
|
|
||||||
// {
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
|
|
||||||
return this.modified;
|
return this.modified;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue