mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Merge branch 'door-sound-fix' of https://github.com/letsgoawaydev/Geyser into door-sound-fix
This commit is contained in:
commit
109e4a089a
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ import org.geysermc.geyser.util.SoundUtils;
|
|||
public class FenceGateSoundInteractionTranslator implements BlockSoundInteractionTranslator {
|
||||
@Override
|
||||
public void translate(GeyserSession session, Vector3f position, String identifier) {
|
||||
if (identifier.contains("iron")) return;
|
||||
boolean open = identifier.contains("open=true");
|
||||
String materialIdentifier = getMaterialIdentifier(identifier);
|
||||
float volume = 1.0f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue