mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 14:34:59 +01:00
Unhardcode PARTICLES_DRAGON_BLOCK_BREAK id (#5018)
This commit is contained in:
parent
f8884568ee
commit
9dad34d0a8
1 changed files with 1 additions and 4 deletions
|
@ -291,10 +291,7 @@ public class JavaLevelEventTranslator extends PacketTranslator<ClientboundLevelE
|
|||
session.sendUpstreamPacket(soundEventPacket);
|
||||
}
|
||||
}
|
||||
case PARTICLES_DRAGON_BLOCK_BREAK -> {
|
||||
effectPacket.setType(org.cloudburstmc.protocol.bedrock.data.LevelEvent.PARTICLE_GENERIC_SPAWN);
|
||||
effectPacket.setData(65);
|
||||
}
|
||||
case PARTICLES_DRAGON_BLOCK_BREAK -> effectPacket.setType(ParticleType.DRAGON_DESTROY_BLOCK);
|
||||
case PARTICLES_WATER_EVAPORATING -> {
|
||||
effectPacket.setType(org.cloudburstmc.protocol.bedrock.data.LevelEvent.PARTICLE_EVAPORATE_WATER);
|
||||
effectPacket.setPosition(pos.add(-0.5f, 0.5f, -0.5f));
|
||||
|
|
Loading…
Reference in a new issue