right click no longer respect to items in off-hand
rudde0 opened this issue ยท 0 comments
Skript/Server Version
[16:30:09 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[16:30:09 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[16:30:09 INFO]: [Skript] Server Version: git-Purpur-2128 (MC: 1.20.4)
[16:30:09 INFO]: [Skript] Skript Version: 2.8.1 (selfbuilt-unknown)
[16:30:09 INFO]: [Skript] Installed Skript Addons:
[16:30:09 INFO]: [Skript] - skript-yaml v1.5
[16:30:09 INFO]: [Skript] - skRayFall v1.9.28 (https://sk.rayfall.net/)
[16:30:09 INFO]: [Skript] - skDragon v0.18-alex-MC1.20.2-hack-5
[16:30:09 INFO]: [Skript] - skript-db v1.3.4
[16:30:09 INFO]: [Skript] Installed dependencies:
[16:30:09 INFO]: [Skript] - Vault v1.7.3-b131
[16:30:09 INFO]: [Skript] - WorldGuard v7.0.10-SNAPSHOT+2260-c7319f1
[16:30:09 INFO]: [Skript] - GriefPrevention v17.0.0-12-gd53199d-dirty
Bug Description
Right click event doesn't check off-hand anymore. Skript was checking this and it was useful. It was working as expected on Skript 2.7.3 and before.
Expected Behavior
It should print "hey" in both cases.
Steps to Reproduce
- Paste this code to any skript file:
on rightclick holding goat horn:
broadcast "hey"
- Get goat horn and do right click, and if the goat horn is
- in your main-hand: it will print "hey"
- in your off-hand: it doesn't print anything
Errors or Screenshots
No response
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.