diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt index 442c4d47f..0b86ac8cc 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt @@ -137,9 +137,9 @@ class GardenVisitorFeatures { list.add(" §7- ") list.add(itemStack) - list.add(Renderable.link("$name §8x${amount.addSeparators()}") { + list.add(Renderable.optionalLink("$name §8x${amount.addSeparators()}", { LorenzUtils.setTextIntoSign("$amount") - }) + }) { Minecraft.getMinecraft().currentScreen is GuiEditSign }) if (config.visitorNeedsShowPrice) { val price = NEUItems.getPrice(internalName) * amount |