Fixed invalid characters in the resource path

This commit is contained in:
Sollace 2019-08-12 11:05:53 +02:00
parent 72d9fbad70
commit 15d67dad00

View file

@ -94,7 +94,7 @@ public class DefaultArmourTextureResolver<T extends LivingEntity> implements IAr
String domain = modId.getNamespace(); 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); Identifier interemId = new Identifier(domain, path);