mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 19:36:41 +00:00
Added debug messages to diagnose a critical CPU usage issue
This commit is contained in:
@ -70,12 +70,14 @@ 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 (set.hasSection(layer)) {
|
||||
return true;
|
||||
}
|
||||
layer++;
|
||||
Fawe.imp().debug("layer++ : " + layer);
|
||||
}
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException exception) {
|
||||
|
Reference in New Issue
Block a user