fix a bunch of compile errors

This commit is contained in:
Jake Potrebic
2023-06-07 15:28:06 -07:00
parent 074728fe8c
commit 3121dbe3fe
16 changed files with 22 additions and 30 deletions

View File

@@ -435,7 +435,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ double z = event.getEntity().getLocation().getZ();
+ net.minecraft.sounds.SoundEvent soundEffect = org.bukkit.craftbukkit.CraftSound.getSoundEffect(event.getDeathSound());
+ net.minecraft.sounds.SoundSource soundCategory = net.minecraft.sounds.SoundSource.valueOf(event.getDeathSoundCategory().name());
+ victim.level.playSound(source, x, y, z, soundEffect, soundCategory, event.getDeathSoundVolume(), event.getDeathSoundPitch());
+ victim.level().playSound(source, x, y, z, soundEffect, soundCategory, event.getDeathSoundVolume(), event.getDeathSoundPitch());
+ }
+ }
+ // Paper end