Can‘t remove custom named items from inventory

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

sluhtie

Supporter
Feb 8, 2020
100
7
18
Germany
cwcodes.de
Hey, I’m trying to remove a custom named pickaxe from a player’s inventory but this:
Code:
remove 1 diamond pickaxe named “&5Test” from player’s inventory
Does not work for me :emoji_frowning: No errors, it just does not remove the item.
And I have to do it like so because I can’t use
Code:
delete player’s held item
because I can’t use it like that in my skript.

Would be nice for a answer
 
Hi there, doesnt works for 1.15.2 :emoji_frowning:
Weird, I have a shop gui and I used this in a function.

Code:
remove 1 oak log named "&7Oak Log" with lore "&7", "&fA common material farmed", "&ffrom oak trees!", "&7" and "&7&lCOMMON" from {_p}


It works for me! Maybe you can edit it and try to make it work. Also, if the item has a lore, you have to specify it!
 
Status
Not open for further replies.