Left click right click events not triggering.
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reviewing the event handling changes in the custom Skript build referenced in issue #8434 and compare them with the reported left- and right-click cases. Reproduce using the two supplied event listeners, a spear while looking at a block, and simultaneous left and right click; check whether both events trigger as expected. The report does not name source files or tests, so locate the relevant event handling and tests before making changes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Skript/Server Version
[23:23:07 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[23:23:07 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[23:23:07 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[23:23:07 INFO]: [Skript] Server Version: 1.21.11-128-1fdbce1 (MC: 1.21.11)
[23:23:07 INFO]: [Skript] Skript Version: 2.14.1 (selfbuilt-unknown)
[23:23:07 INFO]: [Skript] Installed Skript Addons:
[23:23:07 INFO]: [Skript] - skript-placeholders v1.7.0 (https://github.com/APickledWalrus/skript-placeholders)
[23:23:07 INFO]: [Skript] - SkBee v3.19.0 (https://github.com/ShaneBeee/SkBee)
[23:23:07 INFO]: [Skript] Installed dependencies:
[23:23:07 INFO]: [Skript] - Vault v1.7.3-b131
[23:23:07 INFO]: [Skript] - WorldGuard v7.0.16+2355-f7fded2
Bug Description
on left click:
send "leftclick" to player
When using the code above and the custom skript build given to me in https://github.com/SkriptLang/Skript/issues/8434, the left click event is not triggered when using a spear and looking at a block.
on right click:
send "rightclick" to player
When using the code above, the event is not triggered if you left click at the same time you right click on the custom skript build given to me in https://github.com/SkriptLang/Skript/issues/8434. Left click event still works when both right click and left click are triggered so it might be right click only gets cancelled if there is a left click event listener in skript. I am unable to test weather the issue persists if there is no other skript with a left click event to interfere with the right click event right now.
Also unable to test this with a normal skript version rn but will addon to this when I can. This is just a bug report with that custom version for now and I saw the bug was fixed in 2.15 so if the custom version given to me was used in the fix for 2.15, this bug report would be for that 2.15 version I guess.
Expected Behavior
Left click events triggering when holding a spear and looking at a block and and right click events triggering when left clicking.
Steps to Reproduce
Use this code:
on left click:
send "leftclick" to player
on right click:
send "rightclick" to player
Hold a spear and left click while looking at a block to test the first one, and left click and right click at the same time to test the second one.
Errors or Screenshots
No response
Other
Full console logs: https://mclo.gs/JbeW8ZN
Agreement
- I have read the guidelines above and affirm I am following them with this report.
- Lingua principale
- Java
- Stelle
- 1.3k
- Fork
- 456
- Merge medio
- 4g 14h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SkriptLang/Skript
-
bug priority: lowest
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
SkriptLang/Skript#8953 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: lowest
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SkriptLang/Skript#8952 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Support `glid(e|ing)` in glide toggle eventForse già presa @AnOwlBe l’ha presa 201 giorni fa. Apertaenhancement priority: lowest suggestion
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SkriptLang/Skript#8573 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: lowest
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
SkriptLang/Skript#8954 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Command BugsForse già presa @APickledWalrus l’ha presa 1 giorno fa. Apertabug PR available priority: medium
SkriptLang/Skript#8936 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SkriptLang/Skript
Issue simili
-
Startup can freeze while MigLayout's component wrapper runs its static initializer on the EDTApertadesktop edt not responding
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
physical
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
antonyrag/ragleap-core#1339 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rezelyn/Wathe-Extended#116 ·