From d6bee02aa9131786f0a300cfdcf99eece1a84d66 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Wed, 2 Jun 2021 22:06:20 -0400 Subject: [PATCH] Update to 1.17-pre4 and fix Bedrock encryption on Java 16 --- connector/pom.xml | 7 +++++-- .../java/world/JavaSpawnParticleTranslator.java | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/connector/pom.xml b/connector/pom.xml index 997a83f7656..49665c89fe8 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -32,7 +32,7 @@ com.github.CloudburstMC.Protocol bedrock-v440 - a8f4e93 + 1656151 compile @@ -122,7 +122,10 @@ com.github.GeyserMC MCProtocolLib - ba26c10 + 5ff383d27aafd081d929fe61a7c46fb03d5e7537 + + + compile diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaSpawnParticleTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaSpawnParticleTranslator.java index dabcfd4c125..77f00bb1e5c 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaSpawnParticleTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaSpawnParticleTranslator.java @@ -114,7 +114,8 @@ private Function createParticle(GeyserSession session, return packet; }; } - case DUST: { + case DUST: + case DUST_COLOR_TRANSITION: { //TODO DustParticleData data = (DustParticleData) particle.getData(); int r = (int) (data.getRed() * 255); int g = (int) (data.getGreen() * 255);