Fix PickupStatus getting reset

This commit is contained in:
Tamion 2024-07-23 18:37:12 +02:00
parent e8e8c4f7c2
commit 5dc2ca5b62

View File

@ -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
}