mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 02:47:44 +01:00
Fix PickupStatus getting reset
This commit is contained in:
parent
e8e8c4f7c2
commit
5dc2ca5b62
@ -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 New Issue
Block a user