mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-04 15:31:36 +00:00
You shall compile!
This commit is contained in:
@@ -74,7 +74,7 @@ public class JavaExplodeTranslator extends PacketTranslator<ClientboundExplodePa
|
||||
// Not sure if the packet does anything - sending it just in case, because BDS still sends it.
|
||||
// TODO move out of packet translator class
|
||||
Particle particle;
|
||||
if (!(packet.getRadius() < 2f) && packet.getBlockInteraction() == ExplosionInteraction.KEEP) {
|
||||
if (!(packet.getRadius() < 2f) && packet.getBlockInteraction() != ExplosionInteraction.KEEP) {
|
||||
particle = packet.getLargeExplosionParticles();
|
||||
} else {
|
||||
particle = packet.getSmallExplosionParticles();
|
||||
|
||||
@@ -68,7 +68,6 @@ public class JavaLevelEventTranslator extends PacketTranslator<ClientboundLevelE
|
||||
|
||||
// Prioritize level events because it makes parrots dance.
|
||||
SoundMapping mapping = Registries.SOUNDS.get(jukeboxSong.soundEvent().replace("minecraft:", ""));
|
||||
System.out.println(jukeboxSong.soundEvent() + " " + mapping);
|
||||
SoundEvent soundEvent = null;
|
||||
if (mapping != null) {
|
||||
String bedrock = mapping.getBedrock();
|
||||
|
||||
@@ -177,7 +177,6 @@ public class JavaLevelParticlesTranslator extends PacketTranslator<ClientboundLe
|
||||
}
|
||||
default -> {
|
||||
ParticleMapping particleMapping = Registries.PARTICLES.get(particle.getType());
|
||||
System.out.println(particle.getType() + " " + particleMapping);
|
||||
if (particleMapping == null) { //TODO ensure no particle can be null
|
||||
return null;
|
||||
}
|
||||
|
||||
Submodule core/src/main/resources/mappings updated: 1f1d5ce8c4...54705bcd2b
Reference in New Issue
Block a user