geforkt von Mirrors/Paper
21 Zeilen
854 B
Diff
21 Zeilen
854 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
|
||
|
@@ -97,7 +97,7 @@
|
||
|
this.velocityChanged();
|
||
|
this.f = (int) ((float) this.f - f);
|
||
|
if (this.f <= 0) {
|
||
|
-@@ -267,6 +289,35 @@
|
||
|
+@@ -267,6 +289,38 @@
|
||
|
Item item = itemstack.getItem();
|
||
|
int i = itemstack.getCount();
|
||
|
|
||
|
@@ -136,7 +136,7 @@
|
||
|
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()) {
|
||
|
-@@ -309,7 +360,9 @@
|
||
|
+@@ -309,7 +363,9 @@
|
||
|
}
|
||
|
|
||
|
public void setItemStack(ItemStack itemstack) {
|