diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-03 17:47:11 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:33 +0100 |
commit | bdc3f4a198c3f047389b159e67f7e6131e053ea6 (patch) | |
tree | c0f473147116e4ba0fed8cfb5f9780982b5a3c8c /src/Stream.cpp | |
parent | Fixed CMake error (diff) | |
download | AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.gz AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.bz2 AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.lz AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.xz AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.zst AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Stream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Stream.cpp b/src/Stream.cpp index 8f5d519..a7884d6 100644 --- a/src/Stream.cpp +++ b/src/Stream.cpp @@ -128,8 +128,8 @@ std::vector<unsigned char> StreamInput::ReadEntityMetadata() { return std::vector<unsigned char>(); } -SlotData StreamInput::ReadSlot() { - SlotData slot; +SlotDataType StreamInput::ReadSlot() { + SlotDataType slot; slot.BlockId = ReadShort(); if (slot.BlockId == -1) @@ -275,7 +275,7 @@ void StreamOutput::WriteEntityMetadata(const std::vector<unsigned char> &value) LOG(FATAL) << "Used unimplemented WriteEntityMetadata: " << value.size(); } -void StreamOutput::WriteSlot(const SlotData &value) { +void StreamOutput::WriteSlot(const SlotDataType &value) { WriteShort(value.BlockId); if (value.BlockId == -1) return; |