aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-09 18:24:50 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-09 18:24:50 +0200
commitca07710d1907a8a0d746f996358dddf15ae12a1b (patch)
tree430c6b1f5a6edf03ad7ff543bee23cc75eefaa92
parent04902842650833239d6488b1e1c3efb34b75811d (diff)
downloadskyhanni-ca07710d1907a8a0d746f996358dddf15ae12a1b.tar.gz
skyhanni-ca07710d1907a8a0d746f996358dddf15ae12a1b.tar.bz2
skyhanni-ca07710d1907a8a0d746f996358dddf15ae12a1b.zip
code cleanup
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenAPI.kt
index bad129824..3ad21dd0e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenAPI.kt
@@ -158,7 +158,7 @@ object GardenAPI {
fun readCounter(itemStack: ItemStack): Long = itemStack.getHoeCounter() ?: itemStack.getCultivatingCounter() ?: -1L
fun MutableList<Any>.addCropIcon(crop: CropType, highlight: Boolean = false) =
- addItemIcon(crop.icon.copy(), highlight, 1.0)
+ addItemIcon(crop.icon.copy(), highlight, scale = 1.0)
fun hideExtraGuis() = ComposterOverlay.inInventory || AnitaMedalProfit.inInventory ||
SkyMartCopperPrice.inInventory || FarmingContestAPI.inInventory || VisitorAPI.inInventory || FFGuideGUI.isInGui()