Bug Closed · Resolved

Mythic Mobs items lose Item Options and Enchantments attributes when placed in Mythic Mobs villagers.

#3946 opened by Unknown 3 years ago

Unknownreported this bug

Summary

Plugin Version: 5.2.3

Plugin Build: 7d2905a6

Server Version: org.bukkit.craftbukkit.v1_18_R2 (Paper)

A MythicMobs item given Enchantments loses this attribute when placed in a MythicMobs' Villager trades attribute. This same attribute remains in the item when it is gotten through other means. (Dropped by a mob, gotten by commands, etc.)

Steps to reproduce

Items configuration: https://pastebin.com/x6jj1KSV Mobs configuration: https://pastebin.com/uJi3xZGT

With these two configs, run "/mm i get TestItem" for the complete test item. Run "/mm m spawn TestVillager" for the Villager trades. Comparing the same item in this Villager trades vs. that in the inventory shows the discrepancy.

Current behavior

Items with enchantment attributes lose their enchantments while being placed in a Villager's trades.

Intended correct behavior

The item should not lose it's enchantments- As it was such in prior versions of the plugin.

Server log file

https://pastebin.com/EXsvP23P

Sign in to join the discussion.