diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-21 13:17:01 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-21 13:17:01 +0100 |
commit | 36cf26be6d783d56ecff22af753def8e6ee5aa62 (patch) | |
tree | a5f9046e8ab882bc01d2cbea9b974fa7aa233d2c /src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt | |
parent | 2a3a4c07f5db951169adfc5626e8cf28c0812cf6 (diff) | |
download | Firmament-master.tar.gz Firmament-master.tar.bz2 Firmament-master.zip |
Diffstat (limited to 'src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt')
-rw-r--r-- | src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt b/src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt index 3cb80c7..4833dc0 100644 --- a/src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt +++ b/src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt @@ -17,7 +17,7 @@ class ItemPredicate( val item: Item ) : FirmamentModelPredicate { override fun test(stack: ItemStack): Boolean { - return stack.item == item + return stack.isOf(item) } object Parser : FirmamentModelPredicateParser { |