3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 19:02:36 +01:00

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

Datei anzeigen

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