mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixes, structure
This commit is contained in:
parent
c71801145e
commit
fc63676bde
5 changed files with 37 additions and 37 deletions
|
|
@ -337,7 +337,7 @@ class Utils{
|
|||
|
||||
public static function writeLong($value){
|
||||
$long = new Math_BigInteger($value, -10);
|
||||
return $long->toBytes(true);
|
||||
return str_pad($long->toBytes(true), 8, "\x00", STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue