mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated settings, less memory usage
This commit is contained in:
parent
c9cecaf218
commit
b7083032f3
5 changed files with 13 additions and 59 deletions
|
|
@ -36,7 +36,7 @@ class Query{
|
|||
public function __construct(){
|
||||
console("[INFO] Starting GS4 status listener");
|
||||
$this->server = ServerAPI::request();
|
||||
$addr = $this->server->api->getProperty("server-ip", "0.0.0.0");
|
||||
$addr = ($ip = $this->server->api->getProperty("server-ip")) != "" ? $ip:"0.0.0.0";
|
||||
$port = $this->server->api->getProperty("server-port");
|
||||
console("[INFO] Setting query port to $port");
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue