aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/configuration/Configuration.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/torui/coflsky/configuration/Configuration.java')
-rw-r--r--src/main/java/de/torui/coflsky/configuration/Configuration.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/de/torui/coflsky/configuration/Configuration.java b/src/main/java/de/torui/coflsky/configuration/Configuration.java
index 1ef040f..58ca4fd 100644
--- a/src/main/java/de/torui/coflsky/configuration/Configuration.java
+++ b/src/main/java/de/torui/coflsky/configuration/Configuration.java
@@ -1,7 +1,7 @@
package de.torui.coflsky.configuration;
import de.torui.coflsky.CoflSky;
-import de.torui.coflsky.EventRegistry;
+import de.torui.coflsky.handlers.EventRegistry;
import java.util.regex.Pattern;
@@ -21,6 +21,7 @@ public class Configuration {
public static void setInstance(Configuration config) {
instance = config;
CoflSky.config.autoStart = instance.autoStart;
+ CoflSky.config.extendedtooltips = instance.extendDescriptions;
EventRegistry.chatpattern = Pattern.compile(instance.chatRegex, Pattern.CASE_INSENSITIVE);;
}
@@ -36,7 +37,7 @@ public class Configuration {
public boolean collectEntities;
public boolean autoStart;
@Description("Wherever or not to send item descriptions for extending to the server")
- public boolean ExtendDescriptions;
+ public boolean extendDescriptions;
@Description("Chat input starting with one of these prefixes is sent to the server")
public String[] CommandPrefixes;