aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/TeleportEntityPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/TeleportEntityPacket.h')
-rw-r--r--Minecraft.World/TeleportEntityPacket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Minecraft.World/TeleportEntityPacket.h b/Minecraft.World/TeleportEntityPacket.h
index 6fc28732..cccc1ce0 100644
--- a/Minecraft.World/TeleportEntityPacket.h
+++ b/Minecraft.World/TeleportEntityPacket.h
@@ -11,7 +11,7 @@ public:
byte yRot, xRot;
TeleportEntityPacket();
- TeleportEntityPacket(shared_ptr<Entity> e);
+ TeleportEntityPacket(std::shared_ptr<Entity> e);
TeleportEntityPacket(int id, int x, int y, int z, byte yRot, byte xRot);
virtual void read(DataInputStream *dis);
@@ -19,9 +19,9 @@ public:
virtual void handle(PacketListener *listener);
virtual int getEstimatedSize();
virtual bool canBeInvalidated();
- virtual bool isInvalidatedBy(shared_ptr<Packet> packet);
+ virtual bool isInvalidatedBy(std::shared_ptr<Packet> packet);
public:
- static shared_ptr<Packet> create() { return shared_ptr<Packet>(new TeleportEntityPacket()); }
+ static std::shared_ptr<Packet> create() { return std::shared_ptr<Packet>(new TeleportEntityPacket()); }
virtual int getId() { return 34; }
}; \ No newline at end of file