From 834c5c6daa54e5dfa19d0ad7ea366bc0e600303e Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 26 Jul 2018 17:02:27 +0200 Subject: [PATCH] java.io.FileNotFoundException: minecraft:skins/preview_${profile.getname()}.png --- src/hdskins/java/com/voxelmodpack/hdskins/LocalTexture.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/LocalTexture.java b/src/hdskins/java/com/voxelmodpack/hdskins/LocalTexture.java index a027ba9f..a47ace49 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/LocalTexture.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/LocalTexture.java @@ -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);