java.io.FileNotFoundException: minecraft:skins/preview_${profile.getname()}.png

This commit is contained in:
Sollace 2018-07-26 17:02:27 +02:00
parent 892553838b
commit 834c5c6daa

View file

@ -33,7 +33,7 @@ public class LocalTexture {
this.blank = blank;
this.type = type;
String file = type.name().toLowerCase() + "s/preview_${profile.getName()}.png";
String file = String.format("%ss/preview_%s.png", type.name().toLowerCase(), profile.getName());
remoteResource = new ResourceLocation(file);
textureManager.deleteTexture(remoteResource);