Placeable Items

Placeable Items

7M Downloads

[1.15.2] Keybinds are shared server-wide

Ferdzz opened this issue ยท 0 comments

commented

Describe the bug
When on a server with other players, if any player is holding their keybinds, holdingKey is globally set to true. This ends up making other players place items by mistake.

To Reproduce
Steps to reproduce the behavior:

  1. Have 2 clients connected to the server
  2. 1 client presses & holds down the keybind to place items
  3. the other client tries to right click with a placeable item

Expected behavior
Keybind actions should be unique to the player

Versions (please complete the following information):

  • Minecraft version: 1.15.2
  • PlaceableItems version: 4.2.1