Update to NukkitX Protocol Lib 2.5.1

This commit is contained in:
RednedEpic 2020-02-16 13:07:35 -06:00
parent 9ffec0021c
commit f87ff70369
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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);