From e28087cf0b1c08c86e02d8f4267ec75c3a5a0a3d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 15 Jun 2023 12:08:32 +0200 Subject: Split the outside garden composter empty timer to a separate gui element --- src/main/java/at/hannibal2/skyhanni/config/features/Garden.java | 3 +++ .../hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java index 01d097338..30305c473 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java @@ -1088,6 +1088,9 @@ public class Garden { @Expose public Position composterDisplayPos = new Position(-363, 13, false, true); + @Expose + public Position composterOutsideGardenPos = new Position(-363, 13, false, true); + @Expose @ConfigOption(name = "Farming Fortune Display", desc = "") @ConfigEditorAccordion(id = 22) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt index e2f3b6710..2ddcc390e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterDisplay.kt @@ -189,7 +189,7 @@ class ComposterDisplay { if (!GardenAPI.inGarden() && config.composterDisplayOutsideGarden) { val list = Collections.singletonList(listOf(NEUItems.getItemStack("BUCKET"), "§b$format")) - config.composterDisplayPos.renderStringsAndItems(list, posLabel = "Composter Display") + config.composterOutsideGardenPos.renderStringsAndItems(list, posLabel = "Composter Outside Garden Display") } } -- cgit