From 139167d09057c6fd739df5e134bff5598a9cbd92 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Tue, 15 Jun 2021 14:48:18 -0400 Subject: [PATCH] Don't hardcode the bell block ID --- .../java/world/JavaBlockValueTranslator.java | 4 ++-- .../translators/world/block/BlockTranslator.java | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockValueTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockValueTranslator.java index 6c14f17ca..ddcf55837 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockValueTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockValueTranslator.java @@ -36,6 +36,7 @@ import com.nukkitx.protocol.bedrock.packet.BlockEventPacket; import org.geysermc.connector.network.session.GeyserSession; import org.geysermc.connector.network.translators.PacketTranslator; import org.geysermc.connector.network.translators.Translator; +import org.geysermc.connector.network.translators.world.block.BlockTranslator; import org.geysermc.connector.network.translators.world.block.entity.NoteblockBlockEntityTranslator; import java.util.concurrent.TimeUnit; @@ -76,8 +77,7 @@ public class JavaBlockValueTranslator extends PacketTranslator