mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-11 08:08:36 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -31,7 +31,7 @@ void Spider::defineSynchedData()
|
||||
{
|
||||
Monster::defineSynchedData();
|
||||
|
||||
entityData->define(DATA_FLAGS_ID, static_cast<byte>(0));
|
||||
entityData->define(DATA_FLAGS_ID, static_cast<BYTE>(0));
|
||||
}
|
||||
|
||||
void Spider::tick()
|
||||
@@ -172,7 +172,7 @@ bool Spider::isClimbing()
|
||||
|
||||
void Spider::setClimbing(bool value)
|
||||
{
|
||||
byte flags = entityData->getByte(DATA_FLAGS_ID);
|
||||
BYTE flags = entityData->getByte(DATA_FLAGS_ID);
|
||||
if (value)
|
||||
{
|
||||
flags |= 0x1;
|
||||
|
||||
Reference in New Issue
Block a user