When trying to despawn one item out of the stack in the player's inventory, this worked for 1.4 but is not working with 1.5:
It drops it and but does not despawn it.
It gives this error message:
I assume this is related to the fact that with 1.5 there needs to be an item to despawn or you will get an error message. In most cases, this is easy to work with (adding an if statement to see if the item is there first), but I am not sure what to do to "fix" the example above.
When trying to despawn one item out of the stack in the player's inventory, this worked for 1.4 but is not working with 1.5:
It drops it and but does not despawn it.
It gives this error message:
I assume this is related to the fact that with 1.5 there needs to be an item to despawn or you will get an error message. In most cases, this is easy to work with (adding an if statement to see if the item is there first), but I am not sure what to do to "fix" the example above.
Share this post
Link to post
Share on other sites