13
0
geforkt von Mirrors/Paper

Add API to get default value of an Attribute

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2016-12-09 12:30:32 +11:00
Ursprung eae60ccc96
Commit 6d7bd7b8d4

Datei anzeigen

@ -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();
}