Class InventoryUtils

java.lang.Object
me.yleoft.zAPI.utils.InventoryUtils

public abstract class InventoryUtils extends Object
InventoryUtils is a utility class for managing player inventories.
  • Constructor Details

    • InventoryUtils

      public InventoryUtils()
  • Method Details

    • cleanInventory

      public static void cleanInventory(@NotNull @NotNull org.bukkit.entity.Player player, String mark)
      Searches for a marked item in the player's inventory and remove it if found.
      Parameters:
      player - The player whose inventory will be searched.