aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-04-19 15:34:43 +0200
committerGitHub <noreply@github.com>2023-04-19 15:34:43 +0200
commitee84a09894c450c35ac619cd3870b3887059985d (patch)
tree67a3754e86c4f720a6d98370c6289c520e4ce5b9 /src/main/java/at/hannibal2/skyhanni/utils
parent8161cf66231cec9a18a4db74e5334065f23f9073 (diff)
downloadskyhanni-ee84a09894c450c35ac619cd3870b3887059985d.tar.gz
skyhanni-ee84a09894c450c35ac619cd3870b3887059985d.tar.bz2
skyhanni-ee84a09894c450c35ac619cd3870b3887059985d.zip
composter fix (#50)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java14
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/MayorJson.java (renamed from src/main/java/at/hannibal2/skyhanni/utils/MayorData.java)4
2 files changed, 16 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java
new file mode 100644
index 000000000..0a5a76c43
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/GardenJson.java
@@ -0,0 +1,14 @@
+package at.hannibal2.skyhanni.utils.jsonobjects;
+
+import com.google.gson.annotations.Expose;
+
+import java.util.Map;
+
+public class GardenJson {
+
+ @Expose
+ public Map<String, Double> organic_matter;
+
+ @Expose
+ public Map<String, Double> fuel;
+}
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/MayorData.java b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/MayorJson.java
index 1c73572d4..813020bc1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/MayorData.java
+++ b/src/main/java/at/hannibal2/skyhanni/utils/jsonobjects/MayorJson.java
@@ -1,10 +1,10 @@
-package at.hannibal2.skyhanni.utils;
+package at.hannibal2.skyhanni.utils.jsonobjects;
import com.google.gson.annotations.Expose;
import java.util.ArrayList;
-public class MayorData {
+public class MayorJson {
@Expose
public boolean success;
@Expose