Fix WaterBottleSplashEvent not forwarding hit result (#10203)
This commit is contained in:
parent
a863590fd5
commit
9665ac3903
3 changed files with 51 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue