From 437576a981806f9a41983fdc89d6e0e25c1be416 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Thu, 14 Mar 2024 17:16:24 +0300 Subject: [PATCH] fixed a warning that could appear when using readLong --- src/utils/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.php b/src/utils/Utils.php index 5c8983ec..27a06662 100644 --- a/src/utils/Utils.php +++ b/src/utils/Utils.php @@ -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){