Fix WaterBottleSplashEvent not forwarding hit result (#10203)

This commit is contained in:
Lulu13022002
2024-02-10 20:27:29 +01:00
parent a863590fd5
commit 9665ac3903
3 changed files with 51 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // Paper start - More projectile API
+ this.splash(hitResult);
+ }
+ public void splash(@org.jetbrains.annotations.Nullable HitResult hitResult) {
+ public void splash(@Nullable HitResult hitResult) {
+ // Paper end - More projectile API
if (!this.level().isClientSide) {
ItemStack itemstack = this.getItem();