mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-10 02:08:50 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -13,7 +13,7 @@ RemoveMobEffectPacket::RemoveMobEffectPacket()
|
||||
RemoveMobEffectPacket::RemoveMobEffectPacket(int entityId, MobEffectInstance *effect)
|
||||
{
|
||||
this->entityId = entityId;
|
||||
this->effectId = static_cast<byte>(effect->getId() & 0xff);
|
||||
this->effectId = static_cast<BYTE>(effect->getId() & 0xff);
|
||||
}
|
||||
|
||||
void RemoveMobEffectPacket::read(DataInputStream *dis)
|
||||
|
||||
Reference in New Issue
Block a user