mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Don't synchronise across the entire edit for a single ChunkSection load (speed boost)
This commit is contained in:
@ -825,7 +825,7 @@ public class BukkitGetBlocks_1_15_2 extends CharGetBlocks {
|
||||
return super.trim(true);
|
||||
} else {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
if (!hasSection(i) || super.sections[i] == CharBlocks.EMPTY) {
|
||||
if (!hasSection(i) || !super.sections[i].isFull()) {
|
||||
continue;
|
||||
}
|
||||
ChunkSection existing = getSections(true)[i];
|
||||
|
@ -827,7 +827,7 @@ public class BukkitGetBlocks_1_16_1 extends CharGetBlocks {
|
||||
return super.trim(true);
|
||||
} else {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
if (!hasSection(i) || super.sections[i] == CharBlocks.EMPTY) {
|
||||
if (!hasSection(i) || !super.sections[i].isFull()) {
|
||||
continue;
|
||||
}
|
||||
ChunkSection existing = getSections(true)[i];
|
||||
|
@ -830,7 +830,7 @@ public class BukkitGetBlocks_1_16_2 extends CharGetBlocks {
|
||||
return super.trim(true);
|
||||
} else {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
if (!hasSection(i) || super.sections[i] == CharBlocks.EMPTY) {
|
||||
if (!hasSection(i) || !super.sections[i].isFull()) {
|
||||
continue;
|
||||
}
|
||||
ChunkSection existing = getSections(true)[i];
|
||||
|
@ -830,7 +830,7 @@ public class BukkitGetBlocks_1_16_4 extends CharGetBlocks {
|
||||
return super.trim(true);
|
||||
} else {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
if (!hasSection(i) || super.sections[i] == CharBlocks.EMPTY) {
|
||||
if (!hasSection(i) || !super.sections[i].isFull()) {
|
||||
continue;
|
||||
}
|
||||
ChunkSection existing = getSections(true)[i];
|
||||
|
Reference in New Issue
Block a user