Remove unnecessary curly braces

This commit is contained in:
Ethan 2024-07-02 20:40:01 +08:00
parent c767b75ffa
commit 33b2fd615a
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ import org.geysermc.geyser.translator.sound.BlockSoundInteractionTranslator;
import org.geysermc.geyser.translator.sound.SoundTranslator; import org.geysermc.geyser.translator.sound.SoundTranslator;
import org.geysermc.geyser.util.SoundUtils; import org.geysermc.geyser.util.SoundUtils;
@SoundTranslator(blocks = {"door"}) @SoundTranslator(blocks = "door")
public class DoorSoundInteractionTranslator implements BlockSoundInteractionTranslator { public class DoorSoundInteractionTranslator implements BlockSoundInteractionTranslator {
@Override @Override
public void translate(GeyserSession session, Vector3f position, String identifier) { public void translate(GeyserSession session, Vector3f position, String identifier) {

View file

@ -32,7 +32,7 @@ import org.geysermc.geyser.translator.sound.BlockSoundInteractionTranslator;
import org.geysermc.geyser.translator.sound.SoundTranslator; import org.geysermc.geyser.translator.sound.SoundTranslator;
import org.geysermc.geyser.util.SoundUtils; import org.geysermc.geyser.util.SoundUtils;
@SoundTranslator(blocks = {"fence_gate"}) @SoundTranslator(blocks = "fence_gate")
public class FenceGateSoundInteractionTranslator implements BlockSoundInteractionTranslator { public class FenceGateSoundInteractionTranslator implements BlockSoundInteractionTranslator {
@Override @Override
public void translate(GeyserSession session, Vector3f position, String identifier) { public void translate(GeyserSession session, Vector3f position, String identifier) {