garbagemule / MobArena

MobArena plugin for Minecraft
GNU General Public License v3.0
196 stars 151 forks source link

Error if `nothing` ends up in a thing group #691

Closed garbagemule closed 3 years ago

garbagemule commented 3 years ago

Bug report

Short description

When nothing ends up as part of a thing group, MobArena throws an error when it tries to print the group in a message to the player, as well as when it tries to grant the rewards when the player leaves the arena.

Reproduction steps

  1. Set all(nothing, dirt) as a reward, e.g. in after.1.
  2. Play until the reward is earned, the first error is thrown.
  3. Run /ma leave, the second error is thrown.

Details

Additional info

The nothing doesn't make sense in the reproduction steps, but it is a possible outcome using the all(random(nothing, bone), random(nothing, stone)) example from the wiki.