Updated utilities

This commit is contained in:
Shoghi Cervantes Pueyo
2012-12-01 01:17:32 +01:00
parent 8a26a4d858
commit c71801145e
6 changed files with 3804 additions and 262 deletions

View File

@ -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();