mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
StaticBlock class, entities performance boost(i think)
This commit is contained in:
parent
5d79c23c6a
commit
9cb7fbafaa
11 changed files with 232 additions and 58 deletions
|
|
@ -35,6 +35,7 @@ class PocketMinecraftServer{
|
|||
EntityRegistry::registerEntities();
|
||||
Feature::init();
|
||||
Biome::init();
|
||||
StaticBlock::init();
|
||||
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