From dda0172dedde65131dbe3c61170ddb9163096f6b Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Sun, 9 May 2021 01:19:06 -0400 Subject: [PATCH] Allow more blocks to have a place sound on standalone (#2183) Items such as wall torch blocks currently do not have a place sound on standalone, as their block identifier differs from their item identifier. This commit uses the pick item logic in order to fix place sounds for such blocks. --- .../java/world/JavaBlockChangeTranslator.java | 2 +- .../connector/registry/type/BlockMapping.java | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockChangeTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockChangeTranslator.java index e362e335f..de9563d9b 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockChangeTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/world/JavaBlockChangeTranslator.java @@ -68,7 +68,7 @@ public class JavaBlockChangeTranslator extends PacketTranslator