SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
This commit is contained in:
parent
b9c01d1768
commit
aa6ac2b0e2
4 changed files with 31 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
--- a/net/minecraft/server/EntityItem.java
|
||||
+++ b/net/minecraft/server/EntityItem.java
|
||||
@@ -3,6 +3,10 @@
|
||||
@@ -3,16 +3,21 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.UUID;
|
||||
import javax.annotation.Nullable;
|
||||
|
@ -11,7 +11,11 @@
|
|||
|
||||
public class EntityItem extends Entity {
|
||||
|
||||
@@ -13,6 +17,7 @@
|
||||
private static final DataWatcherObject<ItemStack> b = DataWatcher.a(EntityItem.class, DataWatcherRegistry.g);
|
||||
- private int age;
|
||||
+ public int age; // PAIL
|
||||
public int pickupDelay;
|
||||
private int e;
|
||||
private UUID f;
|
||||
private UUID g;
|
||||
public float a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue