Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middle Mouse Click Type Not Registering #6985

Open
1 task done
Astral-Syntax opened this issue Aug 20, 2024 · 2 comments
Open
1 task done

Middle Mouse Click Type Not Registering #6985

Astral-Syntax opened this issue Aug 20, 2024 · 2 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.

Comments

@Astral-Syntax
Copy link

Skript/Server Version

[00:38:55 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[00:38:55 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[00:38:55 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[00:38:55 INFO]: [Skript] Server Version: 1.20.6-148-20f5165 (MC: 1.20.6)
[00:38:55 INFO]: [Skript] Skript Version: 2.9.1 (skriptlang-github)
[00:38:55 INFO]: [Skript] Installed Skript Addons:
[00:38:55 INFO]: [Skript]  - SkBee v3.6.0 (https://github.com/ShaneBeee/SkBee)
[00:38:55 INFO]: [Skript] Installed dependencies: None

Bug Description

Making simple vanilla GUIs, trying to test for middle click to do other things and could not get it to work, then tried a simple broadcast and that would not work either.

Expected Behavior

to return middle on middle mouse click

Steps to Reproduce

on inventory click:
    if click action is middle mouse:
        broadcast "middle"
    if click action is left mouse:
        broadcast "left"
    if click action is right mouse:
        broadcast "right"

Errors or Screenshots

No errors, just nothing happens

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@sovdeeth
Copy link
Member

Are you trying this in creative?
Creative inventory clicks are extremely unreliable as the client has no need to tell the server what it's doing. It's just assumed the creative client has permission to do whatever.

@sovdeeth sovdeeth added the waiting for reply The report needs a response from the reporter to determine course of action. label Aug 30, 2024
@erenkarakal
Copy link
Contributor

I was (sort of) able to replicate this in Skript 2.9.2, Paper 1.21
The middle click action is only sent when you have an item in your cursor slot and the window click ones are never called.

@erenkarakal erenkarakal added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Sep 9, 2024
@erenkarakal erenkarakal removed the waiting for reply The report needs a response from the reporter to determine course of action. label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

No branches or pull requests

3 participants