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

Closed
Open
Created Feb 26, 2021 by Zaino 60@Zaino60

2+ commands not working on DropTables

Summary When I put more than one command in a drop table it only executes the first one. For example: https://pastebin.com/t4HJe6im

This would only execute the first command but if I switch them and put the 2nd command first it only executes the first one and not the other one. Even if I add the second command as a different drop table with 100% drop chance it won't execute it, but it works with normal items as intended, this issue only seems to be command related. And no, even when you specify the number of drops and drop chance, it looks like it executes only the first rolled command and it skips the rest, even if rolled.

No errors in log, but here's the pastebin of obtaining the drop table above with debug enabled: https://pastebin.com/kzbfr0py . Oddly enough it recognizes the second command but it never executes it. Also worth noting that the command nature has nothing to do with this bug, even if you put vanilla commands such as "say" or "tp" it still will only execute the 1st one.

Steps to reproduce

The issue is very easy to reproduce, just put two commands as part of a drop table and give yourself the drop table (or kill the mob that has it), you'll notice it only executes the first command, ignoring the rest.

Current behavior

Only executes the 1st command of a drop table

Intended correct behavior

It should execute all commands as if they were items on a drop table.

Server log file

https://pastebin.com/K4mGjkrB

Debug log snippet

https://pastebin.com/kzbfr0py

Edited Feb 26, 2021 by Zaino 60
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking