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
  • #387

Closed
Open
Created Apr 23, 2021 by AlexTheTroll@AlexTheTroll

Mythicmobs Won't Drop Correct Amount of Mmoitems in Configured Droptables

Summary

Configured droptables (in the droptables folder) involving mmoitems always drop 1 of each configured item if chances are met regardless of specified settings. This does not affect individual mob drops. It only affects the droptables in the droptables folder.

Steps to reproduce

  1. Have mythicmobs, mmoitems, and mythiclib in your plugins folder (best to use latest dev versions for this as I'm not too sure how old this bug is).
  2. Make a droptable in mythicmobs in the droptables folder.
  3. Assuming you have the default configs for mmoitems, in said droptable, add - mmoitems{id=MATERIAL;type=WITHER_ESSENCE} 10-64 1
  4. Make a mob and in the drops section of the mob, reference the droptable you have created in steps 2 and 3.
  5. Spawn the mob and kill it.

Current behavior

If you did all the above steps correctly, you should find that the mob only will drop 1 wither essence item, despite the fact that the configured amount is a random amount between 10 and 64.

Intended correct behavior

The mob should drop 10 to 64 wither essence instead of 1.

Server log file

Not applicable.

Debug log snippet

Not applicable.

Proposed fixes

Probably check out droptable code. This bug does not affect mmoitem drops that are not in a droptable (for example, putting - mmoitems{id=MATERIAL;type=WITHER_ESSENCE} 10-64 1 in the drops section of a mob will not trigger this bug).

Edited Apr 23, 2021 by AlexTheTroll
Assignee
Assign to
5.0.0
Milestone
5.0.0
Assign milestone
Time tracking