mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-12 21:18:09 +00:00
fix: remove byte type alias
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user