Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Fixed infinite loop causing massive CPU usage
Dieser Commit ist enthalten in:
Ursprung
7e7fc89e81
Commit
86539c1758
@ -70,14 +70,12 @@ public interface IBatchProcessor {
|
||||
}
|
||||
try {
|
||||
int layer = (minY - 15) >> 4;
|
||||
Fawe.imp().debug("layer: " + layer + " < " +((maxY + 15) >> 4));
|
||||
while (layer < (maxY + 15) >> 4) {
|
||||
if (layer > -1) {
|
||||
if (layer >= -1) {
|
||||
if (set.hasSection(layer)) {
|
||||
return true;
|
||||
}
|
||||
layer++;
|
||||
Fawe.imp().debug("layer++ : " + layer);
|
||||
}
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException exception) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren