aboutsummaryrefslogtreecommitdiff
path: root/src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-21 13:17:01 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-21 13:17:01 +0100
commit36cf26be6d783d56ecff22af753def8e6ee5aa62 (patch)
treea5f9046e8ab882bc01d2cbea9b974fa7aa233d2c /src/texturePacks/java/moe/nea/firmament/features/texturepack/predicates/ItemPredicate.kt
parent2a3a4c07f5db951169adfc5626e8cf28c0812cf6 (diff)
downloadFirmament-master.tar.gz
Firmament-master.tar.bz2
Firmament-master.zip
fix: Don't hide global overrides for textures with extra attributes idsHEADmaster
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.kt2
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 {