Add return value

This commit is contained in:
Jesse Boyd 2019-04-06 14:48:04 +11:00
parent d1f6ef14ef
commit c6db4e10fd
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}