From c1e66f306c84bf3385ea8da3472e7d33a0d53e4b Mon Sep 17 00:00:00 2001 From: Redned Date: Sat, 4 Sep 2021 13:52:02 -0500 Subject: [PATCH] Play sound when totem is used --- .../java/entity/JavaEntityStatusTranslator.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/JavaEntityStatusTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/JavaEntityStatusTranslator.java index aaa42d12d..45d801c3d 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/JavaEntityStatusTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/JavaEntityStatusTranslator.java @@ -39,6 +39,8 @@ import org.geysermc.connector.network.session.GeyserSession; import org.geysermc.connector.network.translators.PacketTranslator; import org.geysermc.connector.network.translators.Translator; +import java.util.concurrent.ThreadLocalRandom; + @Translator(packet = ServerEntityStatusPacket.class) public class JavaEntityStatusTranslator extends PacketTranslator { @@ -158,6 +160,13 @@ public class JavaEntityStatusTranslator extends PacketTranslator