mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
fix
This commit is contained in:
parent
819803c634
commit
a83cf553f9
1 changed files with 21 additions and 20 deletions
|
|
@ -644,6 +644,7 @@ class Utils{
|
||||||
|
|
||||||
public static function writeLong($value){
|
public static function writeLong($value){
|
||||||
$x = "";
|
$x = "";
|
||||||
|
if(!is_float($value)){
|
||||||
if(strval($value[0] == null ? '' : $value[0]) === "-"){
|
if(strval($value[0] == null ? '' : $value[0]) === "-"){
|
||||||
$negative = true;
|
$negative = true;
|
||||||
$value = bcadd($value, "1");
|
$value = bcadd($value, "1");
|
||||||
|
|
@ -664,7 +665,7 @@ class Utils{
|
||||||
}
|
}
|
||||||
return $x;
|
return $x;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//if(Utils::isOnline() === false){
|
//if(Utils::isOnline() === false){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue