"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)
"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:
aaron-mod/src/main/java/net/azureaaron/mod/features/CopyChatMessages.java
Line 49 in fdc0627
RefinementsConfig.MouseButton.MIDDLE ? GLFW.GLFW_MOUSE_BUTTON_MIDDLE : GLFW.GLFW_MOUSE_BUTTON_LEFTIt should be
GLFW.GLFW_MOUSE_BUTTON_RIGHTI guess (without knowdlege of the java environment, but supposing on the name and logic)