mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-12 05:28:08 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -155,7 +155,7 @@ void Mob::ate()
|
||||
void Mob::defineSynchedData()
|
||||
{
|
||||
LivingEntity::defineSynchedData();
|
||||
entityData->define(DATA_CUSTOM_NAME_VISIBLE, static_cast<byte>(0));
|
||||
entityData->define(DATA_CUSTOM_NAME_VISIBLE, static_cast<BYTE>(0));
|
||||
entityData->define(DATA_CUSTOM_NAME, L"");
|
||||
}
|
||||
|
||||
@@ -865,7 +865,7 @@ bool Mob::hasCustomName()
|
||||
|
||||
void Mob::setCustomNameVisible(bool visible)
|
||||
{
|
||||
entityData->set(DATA_CUSTOM_NAME_VISIBLE, visible ? static_cast<byte>(1) : static_cast<byte>(0));
|
||||
entityData->set(DATA_CUSTOM_NAME_VISIBLE, visible ? static_cast<BYTE>(1) : static_cast<BYTE>(0));
|
||||
}
|
||||
|
||||
bool Mob::isCustomNameVisible()
|
||||
|
||||
Reference in New Issue
Block a user