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

@@ -172,8 +172,8 @@ bool MobEffectInstance::equals(MobEffectInstance *instance)
CompoundTag *MobEffectInstance::save(CompoundTag *tag)
{
tag->putByte(L"Id", static_cast<byte>(getId()));
tag->putByte(L"Amplifier", static_cast<byte>(getAmplifier()));
tag->putByte(L"Id", static_cast<BYTE>(getId()));
tag->putByte(L"Amplifier", static_cast<BYTE>(getAmplifier()));
tag->putInt(L"Duration", getDuration());
tag->putBoolean(L"Ambient", isAmbient());
return tag;