From bdc3f4a198c3f047389b159e67f7e6131e053ea6 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 3 Jan 2018 21:47:11 +0500 Subject: Fixed compilation errors --- src/Stream.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Stream.hpp') diff --git a/src/Stream.hpp b/src/Stream.hpp index b733d3b..8269300 100644 --- a/src/Stream.hpp +++ b/src/Stream.hpp @@ -8,7 +8,7 @@ class Socket; -struct SlotData { +struct SlotDataType { short BlockId = -1; signed char ItemCount = 1; short ItemDamage = 0; @@ -38,7 +38,7 @@ public: int ReadVarInt(); long long ReadVarLong(); std::vector ReadEntityMetadata(); - SlotData ReadSlot(); + SlotDataType ReadSlot(); std::vector ReadNbtTag(); Vector ReadPosition(); unsigned char ReadAngle(); @@ -64,7 +64,7 @@ public: void WriteVarInt(int value); void WriteVarLong(long long value); void WriteEntityMetadata(const std::vector &value); - void WriteSlot(const SlotData &value); + void WriteSlot(const SlotDataType &value); void WriteNbtTag(const std::vector &value); void WritePosition(const Vector &value); void WriteAngle(unsigned char value); -- cgit v1.2.3