mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update to NukkitX Protocol Lib 2.5.1
This commit is contained in:
parent
9ffec0021c
commit
f87ff70369
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@
|
|||
<dependency>
|
||||
<groupId>com.nukkitx.protocol</groupId>
|
||||
<artifactId>bedrock-v389</artifactId>
|
||||
<version>2.5.0</version>
|
||||
<version>2.5.1</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -44,7 +44,7 @@ public class BedrockInteractTranslator extends PacketTranslator<InteractPacket>
|
|||
return;
|
||||
|
||||
switch (packet.getAction()) {
|
||||
case UNKNOWN_1: // interact
|
||||
case INTERACT:
|
||||
ClientPlayerInteractEntityPacket interactPacket = new ClientPlayerInteractEntityPacket((int) entity.getEntityId(),
|
||||
InteractAction.INTERACT, Hand.MAIN_HAND);
|
||||
session.getDownstream().getSession().send(interactPacket);
|
||||
|
|
Loading…
Reference in a new issue