mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 13:26:56 +00:00
more casting errors fixed
This commit is contained in:
@@ -99,9 +99,9 @@ void ExplodePacket::write(DataOutputStream *dos) //throws IOException
|
||||
int xx = tp.x-xp;
|
||||
int yy = tp.y-yp;
|
||||
int zz = tp.z-zp;
|
||||
dos->writeByte(xx);
|
||||
dos->writeByte(yy);
|
||||
dos->writeByte(zz);
|
||||
dos->writeByte((std::byte)xx);
|
||||
dos->writeByte((std::byte)yy);
|
||||
dos->writeByte((std::byte)zz);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,4 +133,4 @@ float ExplodePacket::getKnockbackY()
|
||||
float ExplodePacket::getKnockbackZ()
|
||||
{
|
||||
return knockbackZ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user