Mojira Archive
MCM-1713

afterEvents.itemUseOn triggers twice when using item with block_placer component

Partner Rank:
3

Partner Team Reporting:

Jigarbov Productions

Verification builds:

1.20.30.01, 1.20.40.01, 1.20.52.01

Summary:

afterEvents.itemUseOn triggers twice when using item with block_placer component

Impact:

impacts performance in upcoming project

Repro Steps:

  1. Download attached pack
  2. Give yourself jig:block_placer
  3. give yourself a barrier
  4. place a barrier
  5. use the block_placer while facing the barrier{}

Observed Results:

Chat log will say HI twice. If you change the script so that it works on "any" item it will only say hi once if you try placing a vanilla block.

Expected Results:

The item is used once so the command should only trigger once.

Regression Build:

scripting is new, i checked a bunch of versions but it's likely that this has always been in it.

Screenshots / Videos Attached:

above in the observed/expected results

Notes
attached packs

Unresolved

jigar frobozz

2023-10-25, 02:50 AM

2023-11-01, 08:03 PM

0

0

Future Release

-