fixed leaf particle fallback type

This commit is contained in:
octarine-noise
2016-12-11 16:43:48 +01:00
parent 522fc1de33
commit 1a1aa81c0f

View File

@@ -76,7 +76,7 @@ object LeafRegistry : ILeafRegistry {
particleSet.onStitch(atlas)
if (particleSet.num == 0) {
Client.log(Level.WARN, "Leaf particle textures not found for leaf type: $leafType")
leafType == "default"
leafType = "default"
} else {
particles.put(leafType, particleSet)
}