fix: remove byte type alias

This commit is contained in:
Tropical committed 2026-03-06 05:03:37 -06:00
1 parent 09eae49d21
commit 15af35eef2
208 files changed
+700 -701

No files matched your search

+2 -2
View File
@@ -475,7 +475,7 @@ ListTag<CompoundTag> *Inventory::save(ListTag<CompoundTag> *listTag)
if (items[i] != NULL)
{
CompoundTag *tag = new CompoundTag();
tag->putByte(L"Slot", (byte) i);
tag->putByte(L"Slot", (uint8_t) i);
items[i]->save(tag);
listTag->add(tag);
}
@@ -485,7 +485,7 @@ ListTag<CompoundTag> *Inventory::save(ListTag<CompoundTag> *listTag)
if (armor[i] != NULL)
{
CompoundTag *tag = new CompoundTag();
tag->putByte(L"Slot", (byte) (i + 100));
tag->putByte(L"Slot", (uint8_t) (i + 100));
armor[i]->save(tag);
listTag->add(tag);
}