more casting errors fixed
This commit is contained in:
1 parent
143865600c
commit
8947b89f22
5 files changed
+15
-14
No files matched your search
@@ -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