make particle type definitions case insensitive
This commit is contained in:
1 parent
1a6ffb251b
commit
8e251dc038
1 file changed
+1
-1
@@ -13,7 +13,7 @@ class TextureMatcher() {
|
||||
fun matches(icon: TextureAtlasSprite): Boolean {
|
||||
val iconLocation = ResourceLocation(icon.iconName)
|
||||
return (domain == null || domain == iconLocation.resourceDomain) &&
|
||||
iconLocation.resourcePath.stripStart("blocks/").contains(path)
|
||||
iconLocation.resourcePath.stripStart("blocks/").contains(path, ignoreCase = true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user