Package com.zetaplugins.lifestealz.util
Class MaxHeartsManager
java.lang.Object
com.zetaplugins.lifestealz.util.MaxHeartsManager
Utility class to manage the maximum number of hearts a player can have.
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
getMaxHearts
(Player player, FileConfiguration config) Returns the maximum number of hearts a player can have.
-
Method Details
-
getMaxHearts
Returns the maximum number of hearts a player can have.- Parameters:
player
- the player to checkconfig
- the LifeStealZ main configuration- Returns:
- the maximum number of hearts the player can have
-