mojira.dev
MC-307824

Attempting to light a sulfur cube with TNT inside while TNT explosions are disabled does not display a message

The bug

Attempting to manually light a sulfur cube with TNT inside while the "Allow TNT to be activated and to explode" game rule is disabled doesn't display the "TNT explosions are disabled" message to the player.

This is inconsistent with the TNT block, which displays said message to the player when attempting to light it in the same fashion.

Steps to reproduce

  1. Ensure that the "Allow TNT to be activated and to explode" game rule is disabled.

    gamerule tnt_explodes false
  2. Summon a sulfur cube and put a TNT block inside of it.

  3. Attempt to light the sulfur cube (e.g., with a fire charge).

Observed behavior

The lighting will fail, but no message will be displayed.

Expected behavior

A message would be displayed in the actionbar saying "TNT explosions are disabled".

Linked issues

Comments 0

No comments.

shnupbups100

(Unassigned)

Confirmed

Expansion A

Normal

Mob behaviour

26.2 Snapshot 5

Retrieved