diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-21 13:40:48 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-21 13:40:48 +0100 |
commit | bda63cf7205c49a6e2b47409abcbe6d7023453c8 (patch) | |
tree | f30c934113ec9403076af0e08b9b9726a5bd0e88 /src/main/java/at/hannibal2/skyhanni/features | |
parent | 626e4c822dd56e1c36f281220499fa19b83afdfc (diff) | |
download | skyhanni-bda63cf7205c49a6e2b47409abcbe6d7023453c8.tar.gz skyhanni-bda63cf7205c49a6e2b47409abcbe6d7023453c8.tar.bz2 skyhanni-bda63cf7205c49a6e2b47409abcbe6d7023453c8.zip |
Fixed gfs command in composter overlay.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt index dbddf3af5..0b695149b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt @@ -486,7 +486,7 @@ object ComposterOverlay { val sackStatus = sackItem.getStatus() if (sackStatus == SackStatus.MISSING || sackStatus == SackStatus.OUTDATED) { - if (sackStatus == SackStatus.OUTDATED) LorenzUtils.sendCommandToServer("gfs $internalName ${itemsNeeded - having}") + if (sackStatus == SackStatus.OUTDATED) LorenzUtils.sendCommandToServer("gfs ${internalName.asString()} ${itemsNeeded - having}") // TODO Add sack type repo data val sackType = if (internalName.equals("VOLTA") || internalName.equals("OIL_BARREL")) "Mining" else "Enchanted Agronomy" @@ -506,7 +506,7 @@ object ComposterOverlay { return } - LorenzUtils.sendCommandToServer("gfs $internalName ${itemsNeeded - having}") + LorenzUtils.sendCommandToServer("gfs ${internalName.asString()} ${itemsNeeded - having}") if (amountInSacks <= itemsNeeded - having) { if (LorenzUtils.noTradeMode) { LorenzUtils.chat("You're out of $itemName §ein your sacks!") |