diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/attribute/AttributeInstance.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/attribute/AttributeInstance.java b/src/main/java/org/bukkit/attribute/AttributeInstance.java index 92194b35..ca8b76a6 100644 --- a/src/main/java/org/bukkit/attribute/AttributeInstance.java +++ b/src/main/java/org/bukkit/attribute/AttributeInstance.java @@ -57,4 +57,11 @@ public interface AttributeInstance { * @return the total attribute value */ double getValue(); + + /** + * Gets the default value of the Attribute attached to this instance. + * + * @return server default value + */ + double getDefaultValue(); } |