I'm not sure what I'm doing wrong here. I'm hoping someone can shed some light because I'm completely lost as to why this is not working.
It's not removing the item when it's named. When I omit the name from the remove event, it works just fine. But I don't want it to remove just any charcoal, only the named one.
I've tried all the variations of "correct" ways it could be done as well. There's got to be something I'm missing. No errors, and it does everything except remove the charcoal. Any help is greatly appreciated.
Code:
on right click on furnace:
name of player's held item is "&5Carbon"
cancel event
remove charcoal named "&5Carbon" from player's inventory
It's not removing the item when it's named. When I omit the name from the remove event, it works just fine. But I don't want it to remove just any charcoal, only the named one.
I've tried all the variations of "correct" ways it could be done as well. There's got to be something I'm missing. No errors, and it does everything except remove the charcoal. Any help is greatly appreciated.
Last edited: