You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: worldedit-bukkit/adapters/adapter-1_20_2/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_20_R2/PaperweightGetBlocks.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1016,7 +1016,7 @@ public synchronized boolean trim(boolean aggressive) {
1016
1016
} else {
1017
1017
for (inti = getMinSectionPosition(); i <= getMaxSectionPosition(); i++) {
1018
1018
intlayer = i - getMinSectionPosition();
1019
-
if (!hasSection(i) || !super.sections[layer].isFull()) {
1019
+
if (!hasSection(i) || super.blocks[layer] == null) {
Copy file name to clipboardExpand all lines: worldedit-bukkit/adapters/adapter-1_20_4/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_20_R3/PaperweightGetBlocks.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1017,7 +1017,7 @@ public synchronized boolean trim(boolean aggressive) {
1017
1017
} else {
1018
1018
for (inti = getMinSectionPosition(); i <= getMaxSectionPosition(); i++) {
1019
1019
intlayer = i - getMinSectionPosition();
1020
-
if (!hasSection(i) || !super.sections[layer].isFull()) {
1020
+
if (!hasSection(i) || super.blocks[layer] == null) {
Copy file name to clipboardExpand all lines: worldedit-bukkit/adapters/adapter-1_20_5/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_20_R4/PaperweightGetBlocks.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1018,7 +1018,7 @@ public synchronized boolean trim(boolean aggressive) {
1018
1018
} else {
1019
1019
for (inti = getMinSectionPosition(); i <= getMaxSectionPosition(); i++) {
1020
1020
intlayer = i - getMinSectionPosition();
1021
-
if (!hasSection(i) || !super.sections[layer].isFull()) {
1021
+
if (!hasSection(i) || super.blocks[layer] == null) {
Copy file name to clipboardExpand all lines: worldedit-bukkit/adapters/adapter-1_21/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_R1/PaperweightGetBlocks.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1052,7 +1052,7 @@ public synchronized boolean trim(boolean aggressive) {
1052
1052
} else {
1053
1053
for (inti = getMinSectionPosition(); i <= getMaxSectionPosition(); i++) {
1054
1054
intlayer = i - getMinSectionPosition();
1055
-
if (!hasSection(i) || !super.sections[layer].isFull()) {
1055
+
if (!hasSection(i) || super.blocks[layer] == null) {
Copy file name to clipboardExpand all lines: worldedit-bukkit/adapters/adapter-1_21_3/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_3/PaperweightGetBlocks.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1011,7 +1011,7 @@ public synchronized boolean trim(boolean aggressive) {
1011
1011
} else {
1012
1012
for (inti = getMinSectionPosition(); i <= getMaxSectionPosition(); i++) {
1013
1013
intlayer = i - getMinSectionPosition();
1014
-
if (!hasSection(i) || !super.sections[layer].isFull()) {
1014
+
if (!hasSection(i) || super.blocks[layer] == null) {
Copy file name to clipboardExpand all lines: worldedit-bukkit/adapters/adapter-1_21_4/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_4/PaperweightGetBlocks.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1013,7 +1013,7 @@ public synchronized boolean trim(boolean aggressive) {
1013
1013
} else {
1014
1014
for (inti = getMinSectionPosition(); i <= getMaxSectionPosition(); i++) {
1015
1015
intlayer = i - getMinSectionPosition();
1016
-
if (!hasSection(i) || !super.sections[layer].isFull()) {
1016
+
if (!hasSection(i) || super.blocks[layer] == null) {
0 commit comments