diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-04-20 21:46:04 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-05-01 00:04:56 +0200 |
commit | 0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d (patch) | |
tree | afe3041898d51e53ca693861564792e0d828774e /src/Entities/Pickup.cpp | |
parent | NBT: Dynamic list-max-count protection. (#4697) (diff) | |
download | cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.tar cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.tar.gz cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.tar.bz2 cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.tar.lz cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.tar.xz cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.tar.zst cuberite-0b9b7bc1a8d5cf6f92b802dc376a189ef066e62d.zip |
Diffstat (limited to 'src/Entities/Pickup.cpp')
-rw-r--r-- | src/Entities/Pickup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Pickup.cpp b/src/Entities/Pickup.cpp index 5c8d58f21..785d29ce9 100644 --- a/src/Entities/Pickup.cpp +++ b/src/Entities/Pickup.cpp @@ -118,7 +118,8 @@ cPickup::cPickup(Vector3d a_Pos, const cItem & a_Item, bool IsPlayerCreated, Vec void cPickup::SpawnOn(cClientHandle & a_Client) { - a_Client.SendPickupSpawn(*this); + a_Client.SendSpawnEntity(*this); + a_Client.SendEntityMetadata(*this); } |