aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/TeleportEntityPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/TeleportEntityPacket.cpp')
-rw-r--r--Minecraft.World/TeleportEntityPacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/TeleportEntityPacket.cpp b/Minecraft.World/TeleportEntityPacket.cpp
index f0ed1e95..d31f5bc2 100644
--- a/Minecraft.World/TeleportEntityPacket.cpp
+++ b/Minecraft.World/TeleportEntityPacket.cpp
@@ -49,8 +49,8 @@ void TeleportEntityPacket::read(DataInputStream *dis) //throws IOException
y = dis->readShort();
z = dis->readShort();
#endif
- yRot = (byte) dis->read();
- xRot = (byte) dis->read();
+ yRot = dis->readByte();
+ xRot = dis->readByte();
}
void TeleportEntityPacket::write(DataOutputStream *dos) //throws IOException