mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 00:16:27 +01:00
Lectern controller keepalive fix
This commit is contained in:
parent
4801c6f73b
commit
8abdbb68f2
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ public class LinkedControllerClientHandler {
|
||||||
// Keepalive Pressed Keys
|
// Keepalive Pressed Keys
|
||||||
if (packetCooldown == 0) {
|
if (packetCooldown == 0) {
|
||||||
if (!pressedKeys.isEmpty()) {
|
if (!pressedKeys.isEmpty()) {
|
||||||
AllPackets.channel.sendToServer(new LinkedControllerInputPacket(pressedKeys, true));
|
AllPackets.channel.sendToServer(new LinkedControllerInputPacket(pressedKeys, true, lecternPos));
|
||||||
packetCooldown = PACKET_RATE;
|
packetCooldown = PACKET_RATE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue