Paper/work/pre-source-patches/Fix-EntityItem-hunks.patch

21 lines
830 B
Diff
Raw Normal View History

--- work/CraftBukkit/nms-patches/EntityItem.patch 2019-06-08 15:17:36.374050325 -0500
+++ work/CraftBukkit/nms-patches/EntityItem.patch 2019-06-08 15:17:36.374050325 -0500
@@ -0,0 +0,0 @@
this.velocityChanged();
this.f = (int) ((float) this.f - f);
if (this.f <= 0) {
-@@ -0,0 +0,0 @@
+@@ -0,0 +0,0 @@
Item item = itemstack.getItem();
int i = itemstack.getCount();
@@ -0,0 +0,0 @@
if (this.pickupDelay == 0 && (this.owner == null || 6000 - this.age <= 200 || this.owner.equals(entityhuman.getUniqueID())) && entityhuman.inventory.pickup(itemstack)) {
entityhuman.receive(this, i);
if (itemstack.isEmpty()) {
-@@ -0,0 +0,0 @@
+@@ -0,0 +0,0 @@
}
public void setItemStack(ItemStack itemstack) {