mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated utilities
This commit is contained in:
parent
8a26a4d858
commit
c71801145e
6 changed files with 3804 additions and 262 deletions
|
|
@ -35,7 +35,7 @@ class PocketMinecraftServer{
|
|||
$this->version = (int) $version;
|
||||
$this->username = $username;
|
||||
$this->cnt = 1;
|
||||
$this->serverID = substr(Utils::generateKey(), 0, 8);
|
||||
$this->serverID = Utils::getRandomBytes(8);
|
||||
$this->seed = "\x4f\xf0\x2d\x84";
|
||||
$this->events = array("disabled" => array());
|
||||
$this->actions = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue