Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #696

Closed
Open
Created Feb 04, 2022 by AshenSkies@AshenSkies

MythicMobs Villagers unable to fetch MMOItems by ID.

Summary

MythicMobs Villagers seem to be unable to have MMOItems inside their trade inventories, despite use of the "mmoitems.TYPE.ID" identifier. Console log debug informs that the item returns as null, despite being a valid item. This happens with any items from MMOItems. Oddly enough, MMOItems continue to drop from MythicMobs as usual.

Steps to reproduce

Currently running MM 5.0.0, build fa356053; MMOItems 6.7-SNAPSHOT; and MythicLib 1.3-R21-SNAPSHOT. Villager is coded with a default MMOItem from the basic examples, and another test trade (such as a dirt block for a sand block). Villager is spawned. Villager does not have the MMOItem in trade display, but does have the test trade. This issue also occurs with MMOItems that are not basic example items, and that drop normally from other MM mobs when killed.

Current behavior

MM Villagers can be coded with MMOItems, and will not print errors onto console on startup/reloads. However on spawn, will print a log informing the trade with result/offer using MMOItem returned null, and thus shall not display the MMOItem on the trade inventory.

Intended correct behavior

We expected the MMOItem to be displayed within the MM Villager's trade inventory.

Server log file

https://pastebin.com/fBhJe7xG

Debug log snippet

https://pastebin.com/ccVNiz0T

Proposed fixes

Unsure what may be causing this, but it could likely be the MythicMobs code misinterpreting the MMOItems ID entirely.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking