-
-
Notifications
You must be signed in to change notification settings - Fork 418
Open
Labels
PR availableIssues which have a yet-to-be merged PR resolving itIssues which have a yet-to-be merged PR resolving itbugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An issue that needs to be fixed. Alternatively, a PR fixing an issue.priority: lowIssues that are not harmful to the experience but are related to useful changes or additions.Issues that are not harmful to the experience but are related to useful changes or additions.
Description
Skript/Server Version
[21:55:35 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[21:55:35 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[21:55:35 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[21:55:35 INFO]: [Skript] Server Version: 1.21.11-111-302c47c (MC: 1.21.11)
[21:55:35 INFO]: [Skript] Skript Version: 2.14.1 (skriptlang-github)
[21:55:35 INFO]: [Skript] Installed Skript Addons:
[21:55:35 INFO]: [Skript] - skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[21:55:35 INFO]: [Skript] - SkBee v3.16.0 (https://github.com/ShaneBeee/SkBee)
[21:55:35 INFO]: [Skript] Installed dependencies:
[21:55:35 INFO]: [Skript] - Vault v1.7.3-b131
[21:55:35 INFO]: [Skript] - WorldGuard v7.0.16-beta-01+ce4622fBug Description
on right click:
if player's world is "world":
if player's held item is wind charge:
cancel event
if player's offhand item is wind charge:
cancel event
on right click:
if player's world is "world":
if player's held item is ender pearl:
cancel event
if player's offhand item is ender pearl:
cancel event
With a skript like the above, using an enderpearl or windcharge in those worlds gets cancelled, but if I am close to a player or mob and look at their feet, I can use enderpeals and windcharges.
Expected Behavior
Wind charges and enderpearls should cancel no matter where the player is looking when an event is cancelled.
Steps to Reproduce
on right click:
if player's world is "world":
if player's held item is wind charge:
cancel event
if player's offhand item is wind charge:
cancel event
on right click:
if player's world is "world":
if player's held item is ender pearl:
cancel event
if player's offhand item is ender pearl:
cancel event
Create a skript like the above with the world being the world you are in, get another player or mob, and look at their feet and throw an enderpearl.
Errors or Screenshots
No response
Other
What a bizarre bug. Also tested with other right click items and it all does not cancel when looking at a player or mobs feet, just used wind charges and enderpearls as an example.
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PR availableIssues which have a yet-to-be merged PR resolving itIssues which have a yet-to-be merged PR resolving itbugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.An issue that needs to be fixed. Alternatively, a PR fixing an issue.priority: lowIssues that are not harmful to the experience but are related to useful changes or additions.Issues that are not harmful to the experience but are related to useful changes or additions.
Type
Projects
Status
In Progress