Skip to content

Bug: Copying a message Version 3.0.0-beta1 Minecraft Version 1.21.10 #37

@schmeling65

Description

@schmeling65

"Right click" doesn't work, but instead it copys the message with "left click" when left clicking on a message. Right click does nothing.
Changing the button from "Right click" to "Middle click" works. When I change it back, it still applies the left and not right mouse button.

The problem is in this line:

int configuredButton = AaronModConfigManager.get().refinements.chat.copyChatMouseButton == RefinementsConfig.MouseButton.MIDDLE ? GLFW.GLFW_MOUSE_BUTTON_MIDDLE : GLFW.GLFW_MOUSE_BUTTON_LEFT;

RefinementsConfig.MouseButton.MIDDLE ? GLFW.GLFW_MOUSE_BUTTON_MIDDLE : GLFW.GLFW_MOUSE_BUTTON_LEFT

It should be GLFW.GLFW_MOUSE_BUTTON_RIGHT I guess (without knowdlege of the java environment, but supposing on the name and logic)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions