Commit 097e8dea authored by Human Gamer's avatar Human Gamer

Chop off numbered material

parent e1decf95
Pipeline #1966917 skipped
......@@ -25,10 +25,8 @@ public class MeshBuilder
if (texture.endsWith(".001"))
texture = texture.substring(0, texture.lastIndexOf(".001"));
else if (texture.endsWith(".002"))
texture = texture.substring(0, texture.lastIndexOf(".002"));
if (texture.contains("."))
texture = texture.substring(0, texture.lastIndexOf("."));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment