aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LevelParticlesPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/LevelParticlesPacket.h')
-rw-r--r--Minecraft.World/LevelParticlesPacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/LevelParticlesPacket.h b/Minecraft.World/LevelParticlesPacket.h
index 7676f771..c7870a8e 100644
--- a/Minecraft.World/LevelParticlesPacket.h
+++ b/Minecraft.World/LevelParticlesPacket.h
@@ -34,6 +34,6 @@ public:
int getEstimatedSize();
public:
- static shared_ptr<Packet> create() { return shared_ptr<Packet>(new LevelParticlesPacket()); }
+ static shared_ptr<Packet> create() { return std::make_shared<LevelParticlesPacket>(); }
virtual int getId() { return 63; }
}; \ No newline at end of file