Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Debug message for arrayoutofbounds
Dieser Commit ist enthalten in:
Ursprung
05760c49cd
Commit
0bf6cfad8d
@ -1,5 +1,6 @@
|
|||||||
package com.boydti.fawe.beta;
|
package com.boydti.fawe.beta;
|
||||||
|
|
||||||
|
import com.boydti.fawe.Fawe;
|
||||||
import com.boydti.fawe.FaweCache;
|
import com.boydti.fawe.FaweCache;
|
||||||
import com.boydti.fawe.beta.implementation.processors.EmptyBatchProcessor;
|
import com.boydti.fawe.beta.implementation.processors.EmptyBatchProcessor;
|
||||||
import com.boydti.fawe.beta.implementation.processors.MultiBatchProcessor;
|
import com.boydti.fawe.beta.implementation.processors.MultiBatchProcessor;
|
||||||
@ -65,6 +66,7 @@ public interface IBatchProcessor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
int layer = (minY - 15) >> 4;
|
int layer = (minY - 15) >> 4;
|
||||||
while (layer < (maxY + 15) >> 4) {
|
while (layer < (maxY + 15) >> 4) {
|
||||||
if (set.hasSection(layer)) {
|
if (set.hasSection(layer)) {
|
||||||
@ -72,6 +74,11 @@ public interface IBatchProcessor {
|
|||||||
}
|
}
|
||||||
layer++;
|
layer++;
|
||||||
}
|
}
|
||||||
|
} catch (ArrayIndexOutOfBoundsException exception) {
|
||||||
|
Fawe.imp().debug("minY = " + minY);
|
||||||
|
Fawe.imp().debug("layer = " + ((minY - 15) >> 4));
|
||||||
|
exception.printStackTrace();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren