Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-10-01 23:50:11 +02:00
DoorSoundInteractionHandler: ignore iron [trap]doors (#1343)
Dieser Commit ist enthalten in:
Ursprung
9bb52afc8a
Commit
aee9ccc7d2
@ -37,6 +37,7 @@ public class DoorSoundInteractionHandler implements BlockSoundInteractionHandler
|
||||
|
||||
@Override
|
||||
public void handleInteraction(GeyserSession session, Vector3f position, String identifier) {
|
||||
if (identifier.contains("iron")) return;
|
||||
LevelEventPacket levelEventPacket = new LevelEventPacket();
|
||||
levelEventPacket.setType(LevelEventType.SOUND_DOOR_OPEN);
|
||||
levelEventPacket.setPosition(position);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren