mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix PlotSquared hook
This commit is contained in:
parent
14ac3205ce
commit
de4cb586eb
@ -71,12 +71,12 @@ public interface IBatchProcessor {
|
|||||||
try {
|
try {
|
||||||
int layer = (minY - 15) >> 4;
|
int layer = (minY - 15) >> 4;
|
||||||
while (layer < (maxY + 15) >> 4) {
|
while (layer < (maxY + 15) >> 4) {
|
||||||
if (layer >= -1) {
|
if (layer > -1) {
|
||||||
if (set.hasSection(layer)) {
|
if (set.hasSection(layer)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
layer++;
|
|
||||||
}
|
}
|
||||||
|
layer++;
|
||||||
}
|
}
|
||||||
} catch (ArrayIndexOutOfBoundsException exception) {
|
} catch (ArrayIndexOutOfBoundsException exception) {
|
||||||
Fawe.imp().debug("minY = " + minY);
|
Fawe.imp().debug("minY = " + minY);
|
||||||
|
@ -15,7 +15,7 @@ public class Settings extends Config {
|
|||||||
@Ignore
|
@Ignore
|
||||||
public boolean PROTOCOL_SUPPORT_FIX = false;
|
public boolean PROTOCOL_SUPPORT_FIX = false;
|
||||||
@Ignore
|
@Ignore
|
||||||
public boolean PLOTSQUARED_HOOK = false;
|
public boolean PLOTSQUARED_HOOK = true;
|
||||||
|
|
||||||
@Comment("These first 6 aren't configurable") // This is a comment
|
@Comment("These first 6 aren't configurable") // This is a comment
|
||||||
@Final // Indicates that this value isn't configurable
|
@Final // Indicates that this value isn't configurable
|
||||||
|
Loading…
Reference in New Issue
Block a user