Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -270,9 +270,9 @@ void Throwable::addAdditonalSaveData(CompoundTag *tag)
tag->putShort(L"xTile", static_cast<short>(xTile));
tag->putShort(L"yTile", static_cast<short>(yTile));
tag->putShort(L"zTile", static_cast<short>(zTile));
tag->putByte(L"inTile", static_cast<byte>(lastTile));
tag->putByte(L"shake", static_cast<byte>(shakeTime));
tag->putByte(L"inGround", static_cast<byte>(inGround ? 1 : 0));
tag->putByte(L"inTile", static_cast<BYTE>(lastTile));
tag->putByte(L"shake", static_cast<BYTE>(shakeTime));
tag->putByte(L"inGround", static_cast<BYTE>(inGround ? 1 : 0));
if (ownerName.empty() && (owner != nullptr) && owner->instanceof(eTYPE_PLAYER) )
{