mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Add API to get default value of an Attribute
This commit is contained in:
parent
b7a392c072
commit
09ab5b97cb
1 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue