mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-06 01:18:07 +00:00
fix: remove byte type alias
This commit is contained in:
@@ -202,7 +202,7 @@ bool ItemEntity::hurt(DamageSource *source, int damage)
|
||||
|
||||
void ItemEntity::addAdditonalSaveData(CompoundTag *entityTag)
|
||||
{
|
||||
entityTag->putShort(L"Health", (byte) health);
|
||||
entityTag->putShort(L"Health", (uint8_t) health);
|
||||
entityTag->putShort(L"Age", (short) age);
|
||||
if (getItem() != NULL) entityTag->putCompound(L"Item", getItem()->save(new CompoundTag()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user