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