mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-24 13:39:44 +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){
|
||||
$x = "";
|
||||
if(!is_float($value)){
|
||||
if(strval($value[0] == null ? '' : $value[0]) === "-"){
|
||||
$negative = true;
|
||||
$value = bcadd($value, "1");
|
||||
|
|
@ -664,7 +665,7 @@ class Utils{
|
|||
}
|
||||
return $x;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//if(Utils::isOnline() === false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue