diff options
Diffstat (limited to 'Minecraft.World/TileEditorOpenPacket.h')
| -rw-r--r-- | Minecraft.World/TileEditorOpenPacket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/TileEditorOpenPacket.h b/Minecraft.World/TileEditorOpenPacket.h index 20a731bb..ee68a6cf 100644 --- a/Minecraft.World/TileEditorOpenPacket.h +++ b/Minecraft.World/TileEditorOpenPacket.h @@ -20,6 +20,6 @@ public: virtual int getEstimatedSize(); public: - static shared_ptr<Packet> create() { return shared_ptr<Packet>(new TileEditorOpenPacket()); } + static shared_ptr<Packet> create() { return std::make_shared<TileEditorOpenPacket>(); } virtual int getId() { return 133; } };
\ No newline at end of file |
