Mojira Archive
MC-217163

Clickevent on lit sign doesn’t work while holding glow ink sac in both hands/Clickevent on unlit sign doesn’t work while holding ink sac in both hands

The bug

When you are looking at a sign with a clickevent that has the lit state set to true while holding a glow ink sac in the mainhand and the offhand at the same time or when you are looking at a sign with a clickevent that has the lit state set to false while holding a normal ink sac in the mainhand and the offhand at the same time and right click, the command of the clickevent doesn't run.

How to reproduce

  1. Run this command to get a sing with a click event:
    /give @s oak_sign{BlockEntityTag:{Text1:'{"text":"Hello!","clickEvent":{"action":"run_command","value":"/summon minecraft:evoker_fangs"}}'}} 1
    
  2. Place the sign
  3. Put a glow ink sac in your offhand and hold a glow ink sac in your mainhand
  4. Right click
    The evoker fangs get spawned
  5. Right click again
    The evoker fangs don't get spawned, because the sign is lit
  6. Hold a normal ink sac in your off hand and hold a normal ink sac in your mainhand
  7. Right click again
    Evoker fangs do get spawned
  8. Right click again
    Evoker fangs don't get spawned, because the sign is unlit

Expected result: When ever you right click the sign it spawned evoker fangs.

Relates to MC-212892 and MC-166885

Cannot Reproduce

bugsbugsbugs

2021-02-26, 10:37 PM

2023-11-01, 04:53 AM

2023-11-01, 04:53 AM

6

3

Confirmed

Low

Platform

Commands

21w08b - 21w18a21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a

-