mirror of
https://github.com/GeyserExtensionists/GeyserModelEnginePackGenerator.git
synced 2025-12-23 17:09:22 +00:00
fix again
This commit is contained in:
@@ -56,7 +56,8 @@ public class GeneratorMain {
|
|||||||
for (Iterator<? extends ZipEntry> it = zip.entries().asIterator(); it.hasNext(); ) {
|
for (Iterator<? extends ZipEntry> it = zip.entries().asIterator(); it.hasNext(); ) {
|
||||||
ZipEntry e = it.next();
|
ZipEntry e = it.next();
|
||||||
if (e.getName().endsWith(".png")) {
|
if (e.getName().endsWith(".png")) {
|
||||||
String textureName = e.getName().replace(".png", "");
|
String[] path = e.getName().split("/");
|
||||||
|
String textureName = path[path.length - 1].replace(".png", "");
|
||||||
Set<String> bindingBones = new HashSet<>();
|
Set<String> bindingBones = new HashSet<>();
|
||||||
bindingBones.add("*");
|
bindingBones.add("*");
|
||||||
if (modelConfig.getBingingBones().containsKey(textureName)) {
|
if (modelConfig.getBingingBones().containsKey(textureName)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user