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