Mojira Archive
MC-273697

Crash when throwing Trident enchanted with Riptide 0

Steps to reproduce:

  1. Run the following command:
    /give @s trident[enchantments={riptide:0}]
  2. Set the weather to rain/thunder and hold the trident like you are about to throw it (hold the Use Item/Place Block key, by default right-click)
  3. Launch the trident

Observed result:
The game crashes after launching the trident

Expected result:
The game does not crash

The game crashes with a:
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 3.
Full crash report listed below

Duplicate

Crypticverse

2024-06-21, 07:00 PM

2024-06-28, 08:04 AM

2024-06-28, 08:04 AM

0

2

Confirmed

Crash, Enchantments

1.21

-