diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-05 11:34:40 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-05 11:34:40 +0100 |
| commit | 3504ea84c69e38943f42ae006596f0b46cbf005e (patch) | |
| tree | ae8e963284cf90bd20c314ccd636537b8ad8549b /src/main/java/at/hannibal2/skyhanni/features/garden | |
| parent | 62f4d8cd10210ea255860f37ffde62180d3400fe (diff) | |
| download | skyhanni-3504ea84c69e38943f42ae006596f0b46cbf005e.tar.gz skyhanni-3504ea84c69e38943f42ae006596f0b46cbf005e.tar.bz2 skyhanni-3504ea84c69e38943f42ae006596f0b46cbf005e.zip | |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenDeskInSBMenu.kt | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenDeskInSBMenu.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenDeskInSBMenu.kt index bc20b44a3..6e0d8e400 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenDeskInSBMenu.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/GardenDeskInSBMenu.kt @@ -4,7 +4,8 @@ import at.hannibal2.skyhanni.events.InventoryCloseEvent import at.hannibal2.skyhanni.events.InventoryFullyOpenedEvent import at.hannibal2.skyhanni.features.garden.GardenAPI import at.hannibal2.skyhanni.utils.LorenzUtils -import at.hannibal2.skyhanni.utils.NEUItems +import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.asInternalName +import at.hannibal2.skyhanni.utils.NEUItems.getItemStack import io.github.moulberry.notenoughupdates.events.ReplaceItemEvent import io.github.moulberry.notenoughupdates.events.SlotClickEvent import io.github.moulberry.notenoughupdates.util.Utils @@ -18,8 +19,15 @@ class GardenDeskInSBMenu { private var showItem = false private val item by lazy { - val neuItem = NEUItems.getItemStack("DOUBLE_PLANT") - Utils.createItemStack(neuItem.item, "§bDesk", "§7Click here to", "§7run §e/desk") + val neuItem = "DOUBLE_PLANT".asInternalName().getItemStack() + Utils.createItemStack( + neuItem.item, + "§bOpen Desk", + "§8(From SkyHanni)", + "", + "§7Click here to", + "§7run §e/desk" + ) } @SubscribeEvent |
