geforkt von Mirrors/Paper
Add playPickupItemAnimation to LivingEntity
Dieser Commit ist enthalten in:
Ursprung
0ef48f1dd1
Commit
a7e8ccc630
@ -1009,4 +1009,11 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Paper end - entity jump API
|
// Paper end - entity jump API
|
||||||
|
|
||||||
|
// Paper start - pickup animation API
|
||||||
|
@Override
|
||||||
|
public void playPickupItemAnimation(final org.bukkit.entity.Item item, final int quantity) {
|
||||||
|
this.getHandle().take(((CraftItem) item).getHandle(), quantity);
|
||||||
|
}
|
||||||
|
// Paper end - pickup animation API
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren