Hello everyone.
I'm trying to make it so that when a player drops an enchanted item, the item becomes un-enchanted before it is dropped on the floor. I tried using "disenchant item" but an error message appears saying I cannot change an event-item.
Here is the code I have, although I know it is very wrong:
on drop:
if item is enchanted:
cancel event
if item is boots:
if player's boots are enchanted with feather falling:
delete player's diamond boots
wait 1 second
drop 1 diamond boots
stop
Thanks in advance!
I'm trying to make it so that when a player drops an enchanted item, the item becomes un-enchanted before it is dropped on the floor. I tried using "disenchant item" but an error message appears saying I cannot change an event-item.
Here is the code I have, although I know it is very wrong:
on drop:
if item is enchanted:
cancel event
if item is boots:
if player's boots are enchanted with feather falling:
delete player's diamond boots
wait 1 second
drop 1 diamond boots
stop
Thanks in advance!