Package me.yleoft.zAPI.utils
Class InventoryUtils
java.lang.Object
me.yleoft.zAPI.utils.InventoryUtils
InventoryUtils is a utility class for managing player inventories.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcleanInventory(@NotNull org.bukkit.entity.Player player, String mark) Searches for a marked item in the player's inventory and remove it if found.
-
Constructor Details
-
InventoryUtils
public InventoryUtils()
-
-
Method Details
-
cleanInventory
Searches for a marked item in the player's inventory and remove it if found.- Parameters:
player- The player whose inventory will be searched.
-