mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
get entity names or sizes by eids or instances
This commit is contained in:
parent
53928f4e88
commit
69d4e52d44
12 changed files with 35 additions and 12 deletions
|
|
@ -32,7 +32,6 @@ class PocketMinecraftServer{
|
|||
console("[INFO] Starting Minecraft PE server on " . ($this->serverip === "0.0.0.0" ? "*" : $this->serverip) . ":" . $this->port);
|
||||
|
||||
EntityRegistry::registerEntities();
|
||||
|
||||
define("BOOTUP_RANDOM", Utils::getRandomBytes(16));
|
||||
$this->serverID = $this->serverID === false ? Utils::readLong(substr(Utils::getUniqueID(true, $this->serverip . $this->port), 8)) : $this->serverID;
|
||||
$this->seed = $this->seed === false ? Utils::readInt(Utils::getRandomBytes(4, false)) : $this->seed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue