Skip to content

Commit

Permalink
更新注册rule的namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjsah committed Sep 17, 2024
1 parent 73843a2 commit cbe0e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/anvilcraft/rg/api/RGRuleManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void reInitSaveRules(MinecraftServer server) {
}

public void register(RGRule<?> rule) {
this.rules.put(rule.serialize, rule);
this.rules.put(rule.namespace, rule);
}

private static JsonObject getOrCreateContent(Path path) {
Expand Down

0 comments on commit cbe0e05

Please sign in to comment.