Skip to content

Commit

Permalink
Fix generation of attributes (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeinerLP authored Feb 11, 2024
1 parent a3abc16 commit 1fe4154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public JsonObject generate() {
JsonObject attributes = new JsonObject();
var registry = BuiltInRegistries.ATTRIBUTE;
for (var attribute : registry) {
final var location = registry.key().location();
final var location = registry.getKey(attribute);
JsonObject attributeJson = new JsonObject();
attributeJson.addProperty("translationKey", attribute.getDescriptionId());
attributeJson.addProperty("defaultValue", attribute.getDefaultValue());
Expand Down

0 comments on commit 1fe4154

Please sign in to comment.