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);