diff options
Diffstat (limited to 'Minecraft.World/UpdateMobEffectPacket.h')
| -rw-r--r-- | Minecraft.World/UpdateMobEffectPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/UpdateMobEffectPacket.h b/Minecraft.World/UpdateMobEffectPacket.h index 48462550..39eb98e9 100644 --- a/Minecraft.World/UpdateMobEffectPacket.h +++ b/Minecraft.World/UpdateMobEffectPacket.h @@ -24,6 +24,6 @@ public: virtual bool isInvalidatedBy(shared_ptr<Packet> packet); public: - static shared_ptr<Packet> create() { return std::make_shared<UpdateMobEffectPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new UpdateMobEffectPacket()); } virtual int getId() { return 41; } };
\ No newline at end of file |
