Skip to content

Commit

Permalink
Update Aspect.java
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinYoungSteve authored Aug 27, 2024
1 parent dfcf525 commit c06476b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public AspectBuilder blend(int blend) {
@RecipeBuilderRegistrationMethod
public thaumcraft.api.aspects.Aspect register() {
try {
thaumcraft.api.aspects.Aspect aspect = new thaumcraft.api.aspects.Aspect(tag, chatColor, components.getAspects(), image, blend);
thaumcraft.api.aspects.Aspect aspect = new thaumcraft.api.aspects.Aspect(tag, chatColor, components.size() == 0 ? null : components.getAspects(), image, blend);
ModSupport.THAUMCRAFT.get().aspect.add(aspect);
return aspect;
} catch (IllegalArgumentException e) {
Expand Down

0 comments on commit c06476b

Please sign in to comment.