3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 18:40:05 +01:00

fix: Error when setting PS v4's config option (#1427)

Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1372
Dieser Commit ist enthalten in:
Alex 2021-11-19 10:42:33 +01:00 committet von GitHub
Ursprung ef61ecccaa
Commit 4c6e707fcf
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -40,7 +40,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
public PlotSquaredFeature() { public PlotSquaredFeature() {
super("PlotSquared"); super("PlotSquared");
LOGGER.info("Optimizing PlotSquared"); LOGGER.info("Optimizing PlotSquared");
if (com.fastasyncworldedit.core.configuration.Settings.IMP.ENABLED_COMPONENTS.PLOTSQUARED_v4_HOOK) { if (com.fastasyncworldedit.core.configuration.Settings.IMP.ENABLED_COMPONENTS.PLOTSQUARED_V4_HOOK) {
Settings.Enabled_Components.WORLDEDIT_RESTRICTIONS = false; Settings.Enabled_Components.WORLDEDIT_RESTRICTIONS = false;
try { try {
setupBlockQueue(); setupBlockQueue();

Datei anzeigen

@ -88,7 +88,7 @@ public class Settings extends Config {
"Specific aspects can be turned on and off further below", "Specific aspects can be turned on and off further below",
"Only disables/enables the hook with v4. For v6, see PlotSquared settings.yml" "Only disables/enables the hook with v4. For v6, see PlotSquared settings.yml"
}) })
public boolean PLOTSQUARED_v4_HOOK = true; public boolean PLOTSQUARED_V4_HOOK = true;
@Comment({"Show additional information in console. It helps us at IntellectualSites to find out more about an issue.", @Comment({"Show additional information in console. It helps us at IntellectualSites to find out more about an issue.",
"Leave it off if you don't need it, it can spam your console."}) "Leave it off if you don't need it, it can spam your console."})
public boolean DEBUG = false; public boolean DEBUG = false;