mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-21 15:23:50 -07:00
SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -14,6 +14,15 @@
|
||||
public abstract class EntityArrow extends Entity implements IProjectile {
|
||||
|
||||
private static final Predicate<Entity> g = IEntitySelector.f.and(IEntitySelector.a.and(Entity::isInteractable));
|
||||
@@ -22,7 +29,7 @@
|
||||
public EntityArrow.PickupStatus fromPlayer;
|
||||
public int shake;
|
||||
public UUID shooter;
|
||||
- private int despawnCounter;
|
||||
+ public int despawnCounter; // PAIL
|
||||
private int aB;
|
||||
private double damage;
|
||||
public int knockbackStrength;
|
||||
@@ -250,6 +257,7 @@
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user