onPlayerKeyPressed doesnt work

Issue #23 resolved
athert created an issue

in function onPlayerKeyPressed are "key" represented always as "31" so i cant check what key i just press.

Comments (4)

  1. Aleksi Hulkkonen

    Please use client function onKeyDown instead of onPlayerKeyPressed which is to be removed. Thanks :)

  2. Roman Dobiáš repo owner

    onPlayerKeyPressed was buggy. Key ID was sent as UNSIGNED SHORT, but received as INT at server-side, leading to a big problem. Fixed since the next update.

  3. Log in to comment