mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-17 13:51:23 +01:00
21 lines
830 B
Diff
21 lines
830 B
Diff
|
--- 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) {
|