mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated APIs to only allow PocketMinecraftServer object
This commit is contained in:
parent
3a0db10d6b
commit
cae6285f64
5 changed files with 7 additions and 7 deletions
|
|
@ -27,7 +27,7 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
|
||||
class LevelAPI{
|
||||
private $server, $map;
|
||||
function __construct($server){
|
||||
function __construct(PocketMinecraftServer $server){
|
||||
$this->server = $server;
|
||||
$this->map = $this->server->map;
|
||||
$this->heightMap = array_fill(0, 256, array());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue