From cc2d26dda8ded3309b9e3941280931c998e50614 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:48:38 -0400 Subject: [PATCH] Translate new world events The copper-related ones do not show if the Bedrock player performs them. This will be fixed later. --- connector/pom.xml | 2 +- .../java/world/JavaPlayEffectTranslator.java | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/connector/pom.xml b/connector/pom.xml index f2f5245e4..17a834d69 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -154,7 +154,7 @@ com.github.GeyserMC MCProtocolLib - 5b5334c + dd606b4 compile diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaPlayEffectTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaPlayEffectTranslator.java index 7f15213ca..6a3d170eb 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaPlayEffectTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaPlayEffectTranslator.java @@ -39,7 +39,6 @@ import org.geysermc.connector.network.translators.PacketTranslator; import org.geysermc.connector.network.translators.Translator; import org.geysermc.connector.network.translators.effect.Effect; import org.geysermc.connector.network.translators.effect.EffectRegistry; -import org.geysermc.connector.network.translators.world.block.BlockTranslator; import org.geysermc.connector.utils.LocaleUtils; import java.util.Collections; @@ -275,6 +274,23 @@ public class JavaPlayEffectTranslator extends PacketTranslator