From f87ff70369b23298a4fdd51c0b22a0592e0d83e3 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Sun, 16 Feb 2020 13:07:35 -0600 Subject: [PATCH] Update to NukkitX Protocol Lib 2.5.1 --- connector/pom.xml | 2 +- .../network/translators/bedrock/BedrockInteractTranslator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connector/pom.xml b/connector/pom.xml index 3b13cff7..cff4c87a 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -67,7 +67,7 @@ com.nukkitx.protocol bedrock-v389 - 2.5.0 + 2.5.1 compile diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockInteractTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockInteractTranslator.java index b7f7e5ff..ab73e9bb 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockInteractTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/bedrock/BedrockInteractTranslator.java @@ -44,7 +44,7 @@ public class BedrockInteractTranslator extends PacketTranslator 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);