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 132
    • Issues 132
    • 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
  • #1884

Closed
Open
Created Apr 04, 2025 by ItsVersity@ItsVersity

CanPlaceOn and CanBreak don't work

Summary

I have been testing around with CanBreak and CanPlaceOn in the files, but every time I try it out it gives me the error that the item is not properly configurated and it returned to null. I have used the examples from the wiki and tried out many options, but it either doesn't work at all or just completely breaks. Please note I am using MythicMobs on Aternos!

Steps to reproduce

Really it's just create any item with the CanBreak and/or the CanPlaceOn prompts.

Current behavior

An error pops up saying 'Could not get item: item is improperly configurated and returned to null.'

Intended correct behavior

If I use "/mm i get " that has the prompts in its code, it should give me the item like with any other and have the working attributes.

Server log file

LOG 1 https://pastebin.com/UbUPWYxT

LOG 2 https://pastebin.com/bYHJKv8v

HOW THE CODE LOOKS https://pastebin.com/PBTrHVBS

Debug log snippet

I'm a little lost here... Sorry :/

Proposed fixes

It should simply give me the item without errors and work like intended... right?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking