mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
level properties, moved some settings from server.properties, cmd placeholders
This commit is contained in:
parent
581a6a8fb2
commit
cf4dc73a6c
10 changed files with 165 additions and 30 deletions
|
|
@ -7,13 +7,9 @@ class EntityAPI{
|
|||
public $entities;
|
||||
private $server;
|
||||
private $eCnt = 1;
|
||||
private $serverSpawnAnimals, $serverSpawnMobs;
|
||||
function __construct(){
|
||||
$this->entities = [];
|
||||
$this->server = ServerAPI::request();
|
||||
|
||||
$this->serverSpawnAnimals = $this->server->api->getProperty("spawn-animals");
|
||||
$this->serverSpawnMobs = $this->server->api->getProperty("spawn-mobs");
|
||||
}
|
||||
|
||||
public function init(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue