Minor tweaks

This commit is contained in:
MattBDev
2020-01-10 13:29:20 -05:00
parent b88d7b3e60
commit 98d0420c08
3 changed files with 39 additions and 15 deletions

View File

@ -69,10 +69,12 @@ public interface IBatchProcessor {
try {
int layer = (minY - 15) >> 4;
while (layer < (maxY + 15) >> 4) {
if (set.hasSection(layer)) {
return true;
if (layer > -1) {
if (set.hasSection(layer)) {
return true;
}
layer++;
}
layer++;
}
} catch (ArrayIndexOutOfBoundsException exception) {
Fawe.imp().debug("minY = " + minY);