fixed leaf particle fallback type
This commit is contained in:
@@ -76,7 +76,7 @@ object LeafRegistry : ILeafRegistry {
|
|||||||
particleSet.onStitch(atlas)
|
particleSet.onStitch(atlas)
|
||||||
if (particleSet.num == 0) {
|
if (particleSet.num == 0) {
|
||||||
Client.log(Level.WARN, "Leaf particle textures not found for leaf type: $leafType")
|
Client.log(Level.WARN, "Leaf particle textures not found for leaf type: $leafType")
|
||||||
leafType == "default"
|
leafType = "default"
|
||||||
} else {
|
} else {
|
||||||
particles.put(leafType, particleSet)
|
particles.put(leafType, particleSet)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user