Remove useless typecasts

This commit is contained in:
Dylan K. Taylor
2020-02-06 15:58:52 +00:00
parent d26fcf7dee
commit da3742b39e
5 changed files with 7 additions and 7 deletions

View File

@ -535,7 +535,7 @@ class NetworkBinaryStream extends BinaryStream{
}
public function getByteRotation() : float{
return (float) ($this->getByte() * (360 / 256));
return ($this->getByte() * (360 / 256));
}
public function putByteRotation(float $rotation) : void{