From 80a36344eb78ff620c5ee4a565540b257b51d361 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Mon, 17 Aug 2020 20:46:03 -0500 Subject: [PATCH] Only one of the values here needs to be greater than 0 --- .../network/translators/java/world/JavaExplosionTranslator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaExplosionTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaExplosionTranslator.java index 1eae0b31..efed6ba4 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaExplosionTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaExplosionTranslator.java @@ -66,7 +66,7 @@ public class JavaExplosionTranslator extends PacketTranslator 0f && packet.getPushY() > 0f && packet.getPushZ() > 0f) { + if (packet.getPushX() > 0f || packet.getPushY() > 0f || packet.getPushZ() > 0f) { SetEntityMotionPacket motionPacket = new SetEntityMotionPacket(); motionPacket.setRuntimeEntityId(session.getPlayerEntity().getGeyserId()); motionPacket.setMotion(Vector3f.from(packet.getPushX(), packet.getPushY(), packet.getPushZ()));