mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-10 17:58:07 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user