From a1bc970463136b55d391bd7189578efeaa8fd019 Mon Sep 17 00:00:00 2001 From: RTTV Date: Thu, 30 Jun 2022 17:17:22 -0400 Subject: [PATCH] goddamnit --- gradle.properties | 2 +- src/main/java/ca/rttv/chatcalc/EventHandler.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 3814253..e00a30e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G loader_version=0.14.6 # Mod Properties - mod_version = 3.0.2 + mod_version = 3.0.3 maven_group = ca.rttv archives_base_name = chatcalc diff --git a/src/main/java/ca/rttv/chatcalc/EventHandler.java b/src/main/java/ca/rttv/chatcalc/EventHandler.java index 6fd6917..e3dceeb 100644 --- a/src/main/java/ca/rttv/chatcalc/EventHandler.java +++ b/src/main/java/ca/rttv/chatcalc/EventHandler.java @@ -41,7 +41,7 @@ public class EventHandler { } private static DecimalFormat getDecimalFormat() { - return new DecimalFormat(json.get("decimalFormat").getAsString()); + return new DecimalFormat(json.get("decimal_format").getAsString()); } public static double convertIfRadians(double value) { @@ -124,6 +124,6 @@ public static void readJson() { } public static boolean debugTokens() { - return Boolean.parseBoolean(json.get("debugTokens").getAsString()); + return Boolean.parseBoolean(json.get("debug_tokens").getAsString()); } }