From 15d67dad008ba841628afd87629e8016532e1173 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 12 Aug 2019 11:05:53 +0200 Subject: [PATCH] Fixed invalid characters in the resource path --- .../client/model/armour/DefaultArmourTextureResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/client/model/armour/DefaultArmourTextureResolver.java b/src/main/java/com/minelittlepony/client/model/armour/DefaultArmourTextureResolver.java index e7176d0b..4b26b12a 100644 --- a/src/main/java/com/minelittlepony/client/model/armour/DefaultArmourTextureResolver.java +++ b/src/main/java/com/minelittlepony/client/model/armour/DefaultArmourTextureResolver.java @@ -94,7 +94,7 @@ public class DefaultArmourTextureResolver implements IAr String domain = modId.getNamespace(); - String path = Paths.get(modId.getPath()).getParent().resolve(defPath.getFileName()).toString(); + String path = Paths.get(modId.getPath()).getParent().resolve(defPath.getFileName()).toString().replace('\\', '/'); Identifier interemId = new Identifier(domain, path);