Fix PlotSquared hook

This commit is contained in:
IronApollo 2020-02-26 09:35:41 -05:00
parent 14ac3205ce
commit de4cb586eb
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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