BetterEnd (Forge)

BetterEnd (Forge)

11M Downloads

[1.16.5 Bug] Anvil may crash the game

GoldenTotem opened this issue ยท 0 comments

commented

Minecraft 1.16.5 Forge 36.2.35 Mod 1.6.3

If you place a anvil with damage high than its max damage, the game will be closed without giving crash report.

  1. Run command /give @s betterendforge:thallasium_anvil{level:3}
  2. Place it, the game will crashed but no crash report.

Because the giving value is out of the value list of this block property.

Expected behavior:
Stop crashing the game, and place a block with default block property instead.
Because in vanilla, if the giving block property value is not an allowed value, it will be ignored and use the default value.