diff --git a/api/src/main/java/io/github/sculkpowered/server/attribute/AttributeValue.java b/api/src/main/java/io/github/sculkpowered/server/attribute/AttributeValue.java index 5de67cca..ed522813 100644 --- a/api/src/main/java/io/github/sculkpowered/server/attribute/AttributeValue.java +++ b/api/src/main/java/io/github/sculkpowered/server/attribute/AttributeValue.java @@ -10,7 +10,7 @@ public interface AttributeValue { * @param value the new base value * @since 1.0.0 */ - void setBaseValue(double value); + void baseValue(double value); /** * Gets the base value. @@ -31,7 +31,7 @@ public interface AttributeValue { void removeModifier(@NotNull AttributeModifier modifier); /** - * @return + * @return the calculated value * @since 1.0.0 */ double calculatedValue(); diff --git a/server/src/main/java/io/github/sculkpowered/server/attribute/SculkAttributeValue.java b/server/src/main/java/io/github/sculkpowered/server/attribute/SculkAttributeValue.java index 9a1e9def..bdb7d4b6 100644 --- a/server/src/main/java/io/github/sculkpowered/server/attribute/SculkAttributeValue.java +++ b/server/src/main/java/io/github/sculkpowered/server/attribute/SculkAttributeValue.java @@ -31,7 +31,7 @@ public Attribute attribute() { } @Override - public void setBaseValue(final double value) { + public void baseValue(final double value) { this.baseValue = value; this.consumer.accept(this); }