Skip to content

Commit

Permalink
MaterialTag.vanilla_tags: empty list not null
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 30, 2021
1 parent 4f6c646 commit c88e6ec
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -587,7 +587,7 @@ public static void registerTags() {
registerTag("vanilla_tags", (attribute, object) -> {
HashSet<String> tags = VanillaTagHelper.tagsByMaterial.get(object.getMaterial());
if (tags == null) {
return null;
return new ListTag();
}
return new ListTag(tags);
});
Expand Down

0 comments on commit c88e6ec

Please sign in to comment.