diff --git a/src/main/java/net/minestom/server/extensions/Extension.java b/src/main/java/net/minestom/server/extensions/Extension.java index f3cbac22e..2dc15ef62 100644 --- a/src/main/java/net/minestom/server/extensions/Extension.java +++ b/src/main/java/net/minestom/server/extensions/Extension.java @@ -164,7 +164,8 @@ public abstract class Extension { */ public @Nullable InputStream getPackagedResource(@NotNull Path target) { try { - final URL url = getOrigin().getMinestomExtensionClassLoader().getResource(target.toString()); + String path = target.toString().replace('\\', '/'); + final URL url = getOrigin().getMinestomExtensionClassLoader().getResource(path); if (url == null) { getLogger().debug("Resource not found: {}", target); return null;