mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 13:31:40 +01:00
Add playPickupItemAnimation to LivingEntity
This commit is contained in:
parent
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user