From 29657e24412baa7be9a1681593593368f92de26f Mon Sep 17 00:00:00 2001 From: Empa <42304516+ItsEmpa@users.noreply.github.com> Date: Sun, 26 May 2024 14:57:16 +0200 Subject: Backend: Use HypixelCommands (#1769) Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> --- .../at/hannibal2/skyhanni/config/features/garden/PlotIconConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotIconConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotIconConfig.java index 59366582b..05d85246d 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotIconConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/PlotIconConfig.java @@ -2,7 +2,7 @@ package at.hannibal2.skyhanni.config.features.garden; import at.hannibal2.skyhanni.config.FeatureToggle; import at.hannibal2.skyhanni.features.garden.inventory.plots.GardenPlotIcon; -import at.hannibal2.skyhanni.utils.ChatUtils; +import at.hannibal2.skyhanni.utils.HypixelCommands; import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorButton; @@ -19,6 +19,6 @@ public class PlotIconConfig { @ConfigEditorButton(buttonText = "Reset") public Runnable hardReset = () -> { GardenPlotIcon.INSTANCE.setHardReset(true); - ChatUtils.INSTANCE.sendCommandToServer("desk"); + HypixelCommands.INSTANCE.gardenDesk(); }; } -- cgit