mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Better formatting
Co-authored-by: chris <github@onechris.mozmail.com>
This commit is contained in:
parent
360c20399e
commit
e1cb3c42d2
1 changed files with 5 additions and 4 deletions
|
|
@ -55,11 +55,12 @@ public class OpenableSoundInteractionTranslator implements BlockSoundInteraction
|
||||||
if (identifier.contains("_door")) {
|
if (identifier.contains("_door")) {
|
||||||
return open ? SoundEvent.DOOR_OPEN : SoundEvent.DOOR_CLOSE;
|
return open ? SoundEvent.DOOR_OPEN : SoundEvent.DOOR_CLOSE;
|
||||||
}
|
}
|
||||||
else if (identifier.contains("_trapdoor")){
|
|
||||||
|
if (identifier.contains("_trapdoor")) {
|
||||||
return open ? SoundEvent.TRAPDOOR_OPEN : SoundEvent.TRAPDOOR_CLOSE;
|
return open ? SoundEvent.TRAPDOOR_OPEN : SoundEvent.TRAPDOOR_CLOSE;
|
||||||
}
|
}
|
||||||
else { // Fence Gate
|
|
||||||
|
// Fence Gate
|
||||||
return open ? SoundEvent.FENCE_GATE_OPEN : SoundEvent.FENCE_GATE_CLOSE;
|
return open ? SoundEvent.FENCE_GATE_OPEN : SoundEvent.FENCE_GATE_CLOSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue