CC: Tweaked

CC: Tweaked

57M Downloads

os.pullEvent("mouse_click") returns a faulty x cord.

THultzman opened this issue ยท 1 comments

commented

Minecraft Version: 1.12.2
CC:T: 1.85.2

Desc: Whenever I click after calling the event it returns 1 as the x cord no matter where I click.

Reproduce: Simply call the event and print the x cords

while true do
e,x,y = os.pullEvent("mouse_click")
print(x.." : "..y)
end

commented

Never felt more retarded not including the button pressed.