From 6251ac48739a9b9049989b3469cfb23f0ce70440 Mon Sep 17 00:00:00 2001 From: Aaron Date: Mon, 11 Dec 2023 11:18:54 +0100 Subject: [PATCH] chore: renamed --- .../github/sculkpowered/server/attribute/AttributeValue.java | 4 ++-- .../sculkpowered/server/attribute/SculkAttributeValue.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); }