Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-16 04:50:07 +01:00
Unhardcode PARTICLES_DRAGON_BLOCK_BREAK id (#5018)
Dieser Commit ist enthalten in:
Ursprung
f8884568ee
Commit
9dad34d0a8
@ -291,10 +291,7 @@ public class JavaLevelEventTranslator extends PacketTranslator<ClientboundLevelE
|
|||||||
session.sendUpstreamPacket(soundEventPacket);
|
session.sendUpstreamPacket(soundEventPacket);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case PARTICLES_DRAGON_BLOCK_BREAK -> {
|
case PARTICLES_DRAGON_BLOCK_BREAK -> effectPacket.setType(ParticleType.DRAGON_DESTROY_BLOCK);
|
||||||
effectPacket.setType(org.cloudburstmc.protocol.bedrock.data.LevelEvent.PARTICLE_GENERIC_SPAWN);
|
|
||||||
effectPacket.setData(65);
|
|
||||||
}
|
|
||||||
case PARTICLES_WATER_EVAPORATING -> {
|
case PARTICLES_WATER_EVAPORATING -> {
|
||||||
effectPacket.setType(org.cloudburstmc.protocol.bedrock.data.LevelEvent.PARTICLE_EVAPORATE_WATER);
|
effectPacket.setType(org.cloudburstmc.protocol.bedrock.data.LevelEvent.PARTICLE_EVAPORATE_WATER);
|
||||||
effectPacket.setPosition(pos.add(-0.5f, 0.5f, -0.5f));
|
effectPacket.setPosition(pos.add(-0.5f, 0.5f, -0.5f));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren