Port fixed for #389 from 1.15.2 adapter to other adapters.

This commit is contained in:
dordsor21 2020-03-31 10:26:23 +01:00
parent 318e367cf0
commit a6a4400317
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) {
this.sections = sections.clone();
}
if (this.sections[layer] != section) {
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.
// if (this.sections[layer] != section) {
// this.sections[layer] = section;
// }
this.blocks[layer] = arr;
}
}

View File

@ -213,9 +213,10 @@ public class BukkitGetBlocks_1_15 extends CharGetBlocks {
if (this.sections == null) {
this.sections = sections.clone();
}
if (this.sections[layer] != section) {
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.
// if (this.sections[layer] != section) {
// this.sections[layer] = section;
// }
this.blocks[layer] = arr;
}
}