This commit is contained in:
MattBDev 2020-03-31 11:24:10 -04:00
commit b095d0c29a
2 changed files with 8 additions and 6 deletions

View File

@ -205,9 +205,10 @@ public class BukkitGetBlocks_1_14 extends CharGetBlocks {
if (this.sections == null) { if (this.sections == null) {
this.sections = sections.clone(); this.sections = sections.clone();
} }
if (this.sections[layer] != section) { //TODO: Understand why this causes #329, what the purpose of this is, and what may or may not break after commenting this out.
this.sections[layer] = section; // if (this.sections[layer] != section) {
} // this.sections[layer] = section;
// }
this.blocks[layer] = arr; this.blocks[layer] = arr;
} }
} }

View File

@ -213,9 +213,10 @@ public class BukkitGetBlocks_1_15 extends CharGetBlocks {
if (this.sections == null) { if (this.sections == null) {
this.sections = sections.clone(); this.sections = sections.clone();
} }
if (this.sections[layer] != section) { //TODO: Understand why this causes #329, what the purpose of this is, and what may or may not break after commenting this out.
this.sections[layer] = section; // if (this.sections[layer] != section) {
} // this.sections[layer] = section;
// }
this.blocks[layer] = arr; this.blocks[layer] = arr;
} }
} }