mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-11 16:12:06 +08:00
Ensure flipbook suggested mcmeta filename contains .png
This commit is contained in:
parent
3de79634bb
commit
a02fa693c0
@ -209,7 +209,7 @@ BARS.defineActions(function() {
|
||||
|
||||
} else if (Format.id == 'java_block') {
|
||||
docs = 'https://minecraft.wiki/w/Resource_pack#Animation';
|
||||
file_name = texture.name + '.mcmeta';
|
||||
file_name = (texture.name.match(/\.png$/i) ? texture.name : texture.name + '.png') + '.mcmeta';
|
||||
content = texture.getMCMetaContent();
|
||||
text = compileJSON(content);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user