diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-24 19:47:08 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-24 19:47:08 +0100 |
commit | eb7f8ac4b8ddcb420e6e63cfda9d8db9941d1bf5 (patch) | |
tree | 3589b8f9826060925dd877be8294c4d411464a65 /src/main/java/at/hannibal2/skyhanni/test/command | |
parent | 1ebc88de808bcfa107f640cc2ea9e3cd17b5cedf (diff) | |
download | skyhanni-eb7f8ac4b8ddcb420e6e63cfda9d8db9941d1bf5.tar.gz skyhanni-eb7f8ac4b8ddcb420e6e63cfda9d8db9941d1bf5.tar.bz2 skyhanni-eb7f8ac4b8ddcb420e6e63cfda9d8db9941d1bf5.zip |
Using neu's isVanilla method.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/command')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt index bd13a60fe..5161005a4 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/command/CopyNearbyEntitiesCommand.kt @@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.test.command import at.hannibal2.skyhanni.utils.EntityUtils.getSkinTexture import at.hannibal2.skyhanni.utils.ItemUtils.cleanName import at.hannibal2.skyhanni.utils.ItemUtils.getSkullTexture +import at.hannibal2.skyhanni.utils.ItemUtils.isEnchanted import at.hannibal2.skyhanni.utils.ItemUtils.name import at.hannibal2.skyhanni.utils.LocationUtils import at.hannibal2.skyhanni.utils.LorenzUtils @@ -117,7 +118,7 @@ object CopyNearbyEntitiesCommand { val stackName = stack.name val stackDisplayName = stack.displayName val cleanName = stack.cleanName() - val itemEnchanted = stack.isItemEnchanted + val itemEnchanted = stack.isEnchanted() val itemDamage = stack.itemDamage val stackSize = stack.stackSize val maxStackSize = stack.maxStackSize |