mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
Fix PickupStatus getting reset
This commit is contained in:
parent
e8e8c4f7c2
commit
5dc2ca5b62
1 changed files with 10 additions and 0 deletions
|
@ -272,4 +272,14 @@ public interface AbstractArrow extends Projectile {
|
|||
*/
|
||||
void setHitSound(@NotNull org.bukkit.Sound sound);
|
||||
// Paper end - more projectile API
|
||||
|
||||
// Paper start - Fix PickupStatus getting reset
|
||||
/**
|
||||
* Set the shooter of this projectile.
|
||||
*
|
||||
* @param source the {@link org.bukkit.projectiles.ProjectileSource} that shot this projectile
|
||||
* @param resetPickupStatus whether the {@link org.bukkit.entity.AbstractArrow.PickupStatus} should be reset
|
||||
*/
|
||||
void setShooter(@Nullable org.bukkit.projectiles.ProjectileSource source, boolean resetPickupStatus);
|
||||
// Paper end - Fix PickupStatus getting reset
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue