fixed a warning that could appear when using readLong

This commit is contained in:
GameHerobrine 2024-03-14 17:16:24 +03:00
parent 20767a883f
commit 437576a981

View file

@ -637,7 +637,7 @@ class Utils{
}
public static function readLong($x, $signed = true){
return unpack("J", $x)[1]; //signed is useless since number cant be more than 2^63-1 in php
return @unpack("J", $x)[1]; //signed is useless since number cant be more than 2^63-1 in php
}
public static function writeLLong($value){