aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PlayerInputPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/PlayerInputPacket.h')
-rw-r--r--Minecraft.World/PlayerInputPacket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/PlayerInputPacket.h b/Minecraft.World/PlayerInputPacket.h
index 6f1dce47..bc2d3985 100644
--- a/Minecraft.World/PlayerInputPacket.h
+++ b/Minecraft.World/PlayerInputPacket.h
@@ -27,6 +27,6 @@ public:
bool isSneaking();
public:
- static shared_ptr<Packet> create() { return std::make_shared<PlayerInputPacket>(); }
+ static shared_ptr<Packet> create() { return shared_ptr<Packet>(new PlayerInputPacket()); }
virtual int getId() { return 27; }
}; \ No newline at end of file