Skript

Skript

743k Downloads

Right clicking on player is triggers event twice

Lim-Sierra opened this issue · 4 comments

commented

Skript/Server Version

[03:33:59 INFO]: [Skript] Skript의 별명은 여기에서 찾을 수 있습니다: https://github.com/SkriptLang/skript-aliases
[03:33:59 INFO]: [Skript] Skript의 문서는 여기에서 찾을 수 있습니다: https://docs.skriptlang.org/
[03:33:59 INFO]: [Skript] Skript의 튜토리얼은 여기에서 찾을 수 있습니다: https://docs.skriptlang.org/tutorials
[03:33:59 INFO]: [Skript] 서버 버전: git-Paper-550 (MC: 1.19.4)
[03:33:59 INFO]: [Skript] Skript 버전: 2.8.2 (skriptlang-github)
[03:33:59 INFO]: [Skript] 설치된 Skript 애드온:
[03:33:59 INFO]: [Skript]  - Skellett v2.0.9 (https://forums.skunity.com/resources/skellett.24/)
[03:33:59 INFO]: [Skript]  - SkBee v3.3.0 (https://github.com/ShaneBeee/SkBee)
[03:33:59 INFO]: [Skript]  - ItemsAdder v3.6.3-beta-13 (devs.beer)
[03:33:59 INFO]: [Skript] 설치된 종속성:
[03:33:59 INFO]: [Skript]  - Vault v1.7.3-CMI
[03:33:59 INFO]: [Skript]  - WorldGuard v7.0.8+33cdb4a

Bug Description

I don't know why, but when I right-click on a player or NPC with a tool,

The legs are fine, but when I right-click on the chest or head, the event is output twice.

When checked as event-entity, when I click on the foot, the name of the object I clicked is displayed.

But, When I click on the head and chest, the target name and player name are displayed together.

Is there any solution?

Expected Behavior

The event should be output only one time

Steps to Reproduce

on right click:
broadcast event-entity

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

Fix available at #6309

commented

#6309 에서 수정 가능

Checked it.
Can you tell me what I need to change on the server?

commented

Well it depends on what you want. You can use on right click on player or on right click on %block type% and those will only fire once. But if you use on right click or on right click using %item%, those will fire twice.

The bug itself will be fixed once that PR is approved and merged.

commented

I have to wait Right? 😥
Thank you!