Implement a number of small fixes

This commit is contained in:
2025-12-17 11:56:14 +01:00
parent ac334ccd6d
commit a88364d190
4 changed files with 24 additions and 4 deletions
@@ -20,11 +20,11 @@ public final class SkillEngineAPI {
private SkillEngineAPI() {}
public static ResourceLocation id(String path) {
return new ResourceLocation(SkillEngine.MODID, path);
return ResourceLocation.fromNamespaceAndPath(SkillEngine.MODID, path);
}
public static ResourceLocation rl(String namespace, String path) {
return new ResourceLocation(namespace, path);
return ResourceLocation.fromNamespaceAndPath(namespace, path);
}
public static SkillNode getSkillNode(ResourceLocation id) {