From 88807e8b22ebd78e13eac466f5603152a45c5507 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 3 Oct 2017 12:21:09 +0100 Subject: [PATCH] Fixed Binary::unsignShort() being non-static --- src/pocketmine/utils/Binary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/utils/Binary.php b/src/pocketmine/utils/Binary.php index 9b3c8c547..cfada9503 100644 --- a/src/pocketmine/utils/Binary.php +++ b/src/pocketmine/utils/Binary.php @@ -43,7 +43,7 @@ class Binary{ return $value << 48 >> 48; } - public function unsignShort(int $value) : int{ + public static function unsignShort(int $value) : int{ return $value & 0xffff; }