diff options
Diffstat (limited to 'Minecraft.World/AddMobPacket.h')
| -rw-r--r-- | Minecraft.World/AddMobPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/AddMobPacket.h b/Minecraft.World/AddMobPacket.h index 6af72655..9f7c1e1c 100644 --- a/Minecraft.World/AddMobPacket.h +++ b/Minecraft.World/AddMobPacket.h @@ -32,6 +32,6 @@ public: vector<shared_ptr<SynchedEntityData::DataItem> > *getUnpackedData(); public: - static shared_ptr<Packet> create() { return shared_ptr<Packet>(new AddMobPacket()); } + static shared_ptr<Packet> create() { return std::make_shared<AddMobPacket>(); } virtual int getId() { return 24; } }; |
