Bug Open

Random rounded out numbers to add to items

#6394 opened by Unknown 1 year ago

Unknownreported this bug

When making an item in the config file, when adding an Attribute that has a random value and rounded out, it always gives a +1. Even if the values of the math placeholders are between 2 and 4.

  1. Make an item in the ExampleItems.yml
  2. Give it an attribute that applies correctly
  3. Give it an amount that's random and rounded out like: Amount: "<rand[2,4]{round=0}>" or even Armor: <random.2to4> ADD
  4. Test this in game and it will always give a +1.

Always gives a +1 value to the give item.

[Legacy attachment omitted]

[Legacy attachment omitted]

Minecraft version: 1.21 Mythic Mobs version: 5.8.2 Crucible: 2.2.0 SNAPSHOT

Unknowncommented

Tested the bug on the following versions: MC version: 1.21 MythicMobs version: 5.9.0 Crucible: 2.2.0 SNAPSHOT Build 4018

The same error and log files.

Sign in to join the discussion.