removeWrap

public abstract ItemStack removeWrap(ItemStack itemStack, Player player)

Remove a wrap. If giveBack is true, the item is currently physically wrapped and the physical wrap was configured to give it back, it will also give the player the wrapper of the old wrap.

Return

The newly unwrapped item

Parameters

itemStack

The item to remove the wrap from

player

The player