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