Chat fixed, Negative fixed

This commit is contained in:
RainBowSheepx 2022-06-17 19:45:40 +03:00
parent 5349f16464
commit 7ec27bfb04
4 changed files with 6 additions and 4 deletions

View file

@ -602,10 +602,10 @@ class Utils{
public static function writeLong($value){
$x = "";
if($value[0] === "-"){
if(strval($value)[0] === "-"){
$negative = true;
$value = bcadd($value, "1");
if($value[0] === "-"){
if(strval($value)[0] === "-"){
$value = substr($value, 1);
}
}else{