From 5fc0371d51883bf8705ef52dbdf7dc0689dfd081 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 2 Jun 2023 10:17:05 +0200 Subject: Added text to button --- src/main/java/at/hannibal2/skyhanni/config/features/Garden.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2') 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 2ae4f95fb..1448efc38 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java @@ -2,7 +2,6 @@ package at.hannibal2.skyhanni.config.features; import at.hannibal2.skyhanni.config.commands.Commands; import at.hannibal2.skyhanni.config.core.config.Position; -import at.hannibal2.skyhanni.data.GuiEditManager; import at.hannibal2.skyhanni.features.garden.inventory.GardenPlotIcon; import at.hannibal2.skyhanni.utils.LorenzUtils; import com.google.gson.annotations.Expose; @@ -1155,7 +1154,7 @@ public class Garden { public boolean enabled = true; @ConfigOption(name = "Hard Reset", desc = "Reset every slot to it's original item.") - @ConfigEditorButton + @ConfigEditorButton(buttonText = "Reset") public Runnable hardReset = () -> { GardenPlotIcon.INSTANCE.setHardReset(true); LorenzUtils.INSTANCE.sendCommandToServer("desk"); -- cgit