diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-09-16 17:48:19 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:31 +0100 |
commit | 892b9732751b64c2016ba476801e1fe4ed4e750f (patch) | |
tree | 99aa40953de5d61e30d47bdf345ee2cb9c3c18e1 /src/Stream.cpp | |
parent | 2017-09-15 (diff) | |
download | AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.tar AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.tar.gz AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.tar.bz2 AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.tar.lz AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.tar.xz AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.tar.zst AltCraft-892b9732751b64c2016ba476801e1fe4ed4e750f.zip |
Diffstat (limited to 'src/Stream.cpp')
-rw-r--r-- | src/Stream.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Stream.cpp b/src/Stream.cpp index 665247d..6f93c9c 100644 --- a/src/Stream.cpp +++ b/src/Stream.cpp @@ -275,7 +275,12 @@ void StreamOutput::WriteSlot(SlotData value) { return; WriteByte(value.ItemCount); WriteShort(value.ItemDamage); - WriteUByte(0); + /*unsigned char nbt[] = { + //0x0a, 0x00, 0x02, 0x68, 0x69, 0x00, + 0x01, 0x04, 0xCA, 0xFE, 0xBA, 0xBE, + }; + WriteByteArray(std::vector<unsigned char>(nbt,nbt + sizeof(nbt)));*/ + WriteByte(0); } void StreamOutput::WriteNbtTag(std::vector<unsigned char> value) { |