Use BYTE Win Typedef instead of byte typedef from Minecraft.World

This commit is contained in:
GabsPuNs
2026-05-10 21:03:03 -04:00
parent 20d395b88d
commit 3e7983ab3c
216 changed files with 798 additions and 800 deletions

View File

@@ -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;