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 | fa9209835dc9476780555602c6902b4b75dc9e38 (patch) | |
| tree | 89471fd7ac4f02e65e118bdedaad7b2cd105eb2a | |
| parent | bf3def0e53558638af77ae86178a9b9ae4004bdc (diff) | |
| download | SkyHanni-fa9209835dc9476780555602c6902b4b75dc9e38.tar.gz SkyHanni-fa9209835dc9476780555602c6902b4b75dc9e38.tar.bz2 SkyHanni-fa9209835dc9476780555602c6902b4b75dc9e38.zip | |
code cleanup
| -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>() |
