From 6c1dd81130e85fed7b6256548cfe6dcd66ad528c Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 24 Oct 2016 09:46:01 +0100 Subject: [PATCH] Remove type-hints, fix some crashes --- src/pocketmine/utils/BinaryStream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/utils/BinaryStream.php b/src/pocketmine/utils/BinaryStream.php index 8323b615b..adbe31876 100644 --- a/src/pocketmine/utils/BinaryStream.php +++ b/src/pocketmine/utils/BinaryStream.php @@ -293,7 +293,7 @@ class BinaryStream extends \stdClass{ $z = $this->getVarInt(); } - public function putBlockCoords(int $x, int $y, int $z){ + public function putBlockCoords($x, $y, $z){ $this->putVarInt($x); $this->putByte($y); $this->putVarInt($z); @@ -305,7 +305,7 @@ class BinaryStream extends \stdClass{ $z = $this->getLFloat(); } - public function putVector3f(float $x, float $y, float $z){ + public function putVector3f($x, $y, $z){ $this->putLFloat($x); $this->putLFloat($y); $this->putLFloat($z);