Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • 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
  • MythicCrucibleMythicCrucible
  • Issues
  • #279

Closed
Open
Created May 01, 2025 by mikekevie@mikekevieReporter

~onConsume throws a nullPointerException and does not execute the relevant mechanic

When consuming an item with ~onConsume MythicCrucible throws a java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.EquipmentSlot.equals(Object)" because the return value of "io.lumine.mythic.core.drops.EquipSlot.getBukkitSlot()" is null and does not execute the message

This happens for the following item

Item:

testfood:  
  Material: BREAD
  Display: "testfood"
  Skills:
  - message{m=yada} @self ~onconsume 

Error:https://mclo.gs/HE8UoVl

Log: https://mclo.gs/FVkkdJM

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking