Class MaxHeartsManager

java.lang.Object
org.strassburger.lifestealz.util.MaxHeartsManager

public final class MaxHeartsManager extends Object
Utility class to manage the maximum number of hearts a player can have.
  • Method Details

    • getMaxHearts

      public static double getMaxHearts(org.bukkit.entity.Player player, org.bukkit.configuration.file.FileConfiguration config)
      Returns the maximum number of hearts a player can have.
      Parameters:
      player - the player to check
      config - the LifeStealZ main configuration
      Returns:
      the maximum number of hearts the player can have