diff options
Diffstat (limited to 'Minecraft.World/LevelSoundPacket.h')
| -rw-r--r-- | Minecraft.World/LevelSoundPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/LevelSoundPacket.h b/Minecraft.World/LevelSoundPacket.h index e9ce356d..403ac092 100644 --- a/Minecraft.World/LevelSoundPacket.h +++ b/Minecraft.World/LevelSoundPacket.h @@ -33,6 +33,6 @@ public: virtual int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return std::make_shared<LevelSoundPacket>(); } + static shared_ptr<Packet> create() { return shared_ptr<Packet>(new LevelSoundPacket()); } virtual int getId() { return 62; } }; |
