diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-02 17:34:39 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-02 17:34:39 +0200 |
commit | d8b2bac66db0cdda219d12f20615702d79989116 (patch) | |
tree | 89471fd7ac4f02e65e118bdedaad7b2cd105eb2a /src/main/java | |
parent | ae4af78e29efb97d8898d6cf8d1e817357412bb0 (diff) | |
download | skyhanni-d8b2bac66db0cdda219d12f20615702d79989116.tar.gz skyhanni-d8b2bac66db0cdda219d12f20615702d79989116.tar.bz2 skyhanni-d8b2bac66db0cdda219d12f20615702d79989116.zip |
code cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt index 7ef3ff968..c05b9e0cd 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt @@ -44,9 +44,7 @@ object InventoryUtils { return chestName } - fun ContainerChest.getInventoryName(): String { - return this.lowerChestInventory.displayName.unformattedText.trim() - } + fun ContainerChest.getInventoryName() = this.lowerChestInventory.displayName.unformattedText.trim() fun getItemsInOwnInventory(): MutableList<ItemStack> { val list = mutableListOf<ItemStack>() |