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 146
    • Issues 146
    • 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
  • #292

Closed
Open
Created Jan 28, 2021 by xlsalvolx@xlsalvolx

Console errors when the droptable has items with "0" values

Summary Using the 0 value in droptables will give errors in console. Nothing weird in game, everything is working fine

Steps to reproduce

  1. Create an item, this is the one i used https://pastebin.com/n8JJud4i
  2. Put it and use it in a droptable with a 0 value, like this one: https://pastebin.com/jkCSbUJS
  3. Using /mm items get "droptable1" (or any other droptable name you used) will give you the items in the inventory occasionally giving you the error in console. Throws errors in console if the items are dropped by mobs too

Current behavior Throw errors in console

This is a video where i test the droptable i used, nothing wrong happening in game: https://www.youtube.com/watch?v=PfeA5cXRu7E&feature=youtu.be

Check the log snippet for the error

Intended correct behavior It should not throw errors in console

Server log file https://pastebin.com/CLD2EMeQ

Debug log snippet https://pastebin.com/57rnKYLC

"Failed to apply ItemMeta to item"

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking