mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-28 03:57:38 +01:00
Add return value
This commit is contained in:
parent
d1f6ef14ef
commit
c6db4e10fd
@ -36,7 +36,7 @@ public class TrimFlatFilter extends MCAFilterCounter {
|
||||
case 7: // bedrock
|
||||
continue;
|
||||
default:
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ public class TrimFlatFilter extends MCAFilterCounter {
|
||||
for (int y = 4; y < 16; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
for (int x = 0; x < 16; x++, index++) {
|
||||
if (layer0[index] != 0) return;
|
||||
if (layer0[index] != 0) return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user