mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
You shall compile!
This commit is contained in:
parent
f954dd9b48
commit
02179a798f
5 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1f1d5ce8c482dac142f13e95e19368e3f36de144
|
||||
Subproject commit 54705bcd2bcba830267efbb1fbfd4e52972c40f7
|
Loading…
Add table
Add a link
Reference in a new issue