From d3600e4225b3efc82e2cd6afc39d5d8a6eafa0a0 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Thu, 15 Oct 2020 18:23:10 +0200 Subject: [PATCH] Remove dead config entries --- worldedit-core/src/main/java/com/boydti/fawe/Fawe.java | 2 +- .../src/main/java/com/boydti/fawe/config/Settings.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java b/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java index cf2f9485b..dab5fc305 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java @@ -242,7 +242,7 @@ public class Fawe { String dateString = br.readLine(); br.close(); this.version = FaweVersion.tryParse(versionString, commitString, dateString); - Settings.IMP.DATE = new Date(100 + version.year, version.month, version.day).toGMTString(); + Settings.IMP.DATE = new Date(100 + version.year, version.month, version.day).toString(); Settings.IMP.BUILD = "https://ci.athion.net/job/FastAsyncWorldEdit-1.16/" + version.build; Settings.IMP.COMMIT = "https://github.com/IntellectualSites/FastAsyncWorldEdit/commit/" + Integer.toHexString(version.hash); } catch (Throwable ignored) { diff --git a/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java b/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java index 83dbe1149..5c3c91203 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/config/Settings.java @@ -36,8 +36,6 @@ public class Settings extends Config { "fawe. permission. See the Permissions page for supported region plugins." }) public boolean REGION_RESTRICTIONS = true; - @Comment("FAWE will skip chunks when there's not enough memory available") - public boolean PREVENT_CRASHES = false; @Comment({ "FAWE will cancel non admin edits when memory consumption exceeds this %", " - Bypass with `/wea` or `//fast` or `fawe.bypass`", @@ -80,9 +78,6 @@ public class Settings extends Config { "Specific aspects can be turned on and off further below" }) public boolean PLOTSQUARED_HOOK = true; - @Comment({"Send anonymous FAWE statistics to https://bstats.org/.", - "Please keep this setting enabled. It helps us identifying which parts of FAWE are used the most to organize future updates better."}) - public boolean BSTATS = true; } @Comment("Paths for various directories")