Skip to content

Commit

Permalink
Fix AbstractVillager#getValues
Browse files Browse the repository at this point in the history
  • Loading branch information
aromaa committed Jan 27, 2025
1 parent ed94508 commit ecfb45a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public abstract class AbstractVillagerMixin_API extends AgeableMobMixin_API impl
protected Set<Value.Immutable<?>> api$getVanillaValues() {
final Set<Value.Immutable<?>> values = super.api$getVanillaValues();

values.add(this.requireValue(Keys.CUSTOMER).asImmutable());
this.getValue(Keys.CUSTOMER).map(Value::asImmutable).ifPresent(values::add);

return values;
}
Expand Down

0 comments on commit ecfb45a

Please sign in to comment.