Can't get drop for MMOItems v6 from MM
Closed
Can't get drop for MMOItems v6 from MM
Summary
I can't get drops for MMOITEMS v6 from MM.
Steps to reproduce
When running the command for getting a droptable /mm i get DesertiaDrop, it doesn't drop the said item. Config: plugins.zip
Current behavior
Console log error, and item doesn't drop
Intended correct behavior
MM should be able to read items from MI
Server log file
Debug log snippet
https://paste.md-5.net/efisavinum.cs
Proposed fixes
There's an update for MMOItems which is causing it to be like that. The method is now getItem(@Nullable PlayerData, int amount)
With MI 6, generating an item now uses a PlayerData instance in case the level of the item being generated must scale on the player's RPG level. The new method is
getItem(@Nullable PlayerData player, int amount)
. The provided playerData can be null but it's really best to provide one usingPlayerData.get(Player)
if the DropMetadata instance has got one saved, otherwise items being dropped by MythicMobs won't be able to scale with the player's level.added Completed / Resolved label