You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a custom enchant, I have ran into the problem of the enchant not working after the item is dropped, there is no errors or anything, the item just simply wont register that there is a custom enchant on there.
I am giving the enchanted item, to the player on the accept(p *player.Player) and have tried setting the item's enchants again on pickup, and drop, to no avail.
and when I was debugging, I found that this is whats printed for the items ItemStack.Enchantments(): [{{} 200}].
Finally, I will reiterate that this enchant does work, when the item is first given to the player, however after you drop it and pick it back up, it will not.
The text was updated successfully, but these errors were encountered:
When creating a custom enchant, I have ran into the problem of the enchant not working after the item is dropped, there is no errors or anything, the item just simply wont register that there is a custom enchant on there.
I am giving the enchanted item, to the player on the
accept(p *player.Player)
and have tried setting the item's enchants again on pickup, and drop, to no avail.Here is how I am registering the enchant
here is how I am giving the item to the player
the
NewExplosion()
methodand when I was debugging, I found that this is whats printed for the items
ItemStack.Enchantments()
:[{{} 200}]
.Finally, I will reiterate that this enchant does work, when the item is first given to the player, however after you drop it and pick it back up, it will not.
The text was updated successfully, but these errors were encountered: