mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 08:25:29 +00:00
Fixed Binary::unsignShort() being non-static
This commit is contained in:
parent
5a6812357b
commit
88807e8b22
@ -43,7 +43,7 @@ class Binary{
|
|||||||
return $value << 48 >> 48;
|
return $value << 48 >> 48;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function unsignShort(int $value) : int{
|
public static function unsignShort(int $value) : int{
|
||||||
return $value & 0xffff;
|
return $value & 0xffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user