Fix PlotSquared hook

Dieser Commit ist enthalten in:
IronApollo 2020-02-26 09:35:41 -05:00
Ursprung 14ac3205ce
Commit de4cb586eb
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

@ -15,7 +15,7 @@ public class Settings extends Config {
@Ignore
public boolean PROTOCOL_SUPPORT_FIX = false;
@Ignore
public boolean PLOTSQUARED_HOOK = false;
public boolean PLOTSQUARED_HOOK = true;
@Comment("These first 6 aren't configurable") // This is a comment
@Final // Indicates that this value isn't configurable