aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-02 17:34:39 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-02 17:34:39 +0200
commitd8b2bac66db0cdda219d12f20615702d79989116 (patch)
tree89471fd7ac4f02e65e118bdedaad7b2cd105eb2a
parentae4af78e29efb97d8898d6cf8d1e817357412bb0 (diff)
downloadskyhanni-d8b2bac66db0cdda219d12f20615702d79989116.tar.gz
skyhanni-d8b2bac66db0cdda219d12f20615702d79989116.tar.bz2
skyhanni-d8b2bac66db0cdda219d12f20615702d79989116.zip
code cleanup
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/InventoryUtils.kt4
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>()