fix: remove byte type alias

This commit is contained in:
Tropical
2026-03-06 05:03:37 -06:00
parent 09eae49d21
commit 15af35eef2
208 changed files with 700 additions and 701 deletions

View File

@@ -47,12 +47,12 @@ void Slime::defineSynchedData()
{
Mob::defineSynchedData();
entityData->define(ID_SIZE, (byte) 1);
entityData->define(ID_SIZE, (uint8_t) 1);
}
void Slime::setSize(int size)
{
entityData->set(ID_SIZE, (byte) size);
entityData->set(ID_SIZE, (uint8_t) size);
Mob::setSize(0.6f * size, 0.6f * size);
this->setPos(x, y, z);
setHealth(getMaxHealth());