aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ChunkTilesUpdatePacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ChunkTilesUpdatePacket.h')
-rw-r--r--Minecraft.World/ChunkTilesUpdatePacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ChunkTilesUpdatePacket.h b/Minecraft.World/ChunkTilesUpdatePacket.h
index a97f49a3..7cbc3c65 100644
--- a/Minecraft.World/ChunkTilesUpdatePacket.h
+++ b/Minecraft.World/ChunkTilesUpdatePacket.h
@@ -25,7 +25,7 @@ public:
virtual int getEstimatedSize();
public:
- static shared_ptr<Packet> create() { return shared_ptr<Packet>(new ChunkTilesUpdatePacket()); }
+ static shared_ptr<Packet> create() { return std::make_shared<ChunkTilesUpdatePacket>(); }
virtual int getId() { return 52; }
};