diff --git a/src/API/MobAPI.php b/src/API/MobAPI.php new file mode 100644 index 0000000000..48c6ea2e12 --- /dev/null +++ b/src/API/MobAPI.php @@ -0,0 +1,37 @@ +server = ServerAPI::request(); + } + + public function init(){ + + } +} diff --git a/src/API/ServerAPI.php b/src/API/ServerAPI.php index 71b6de2c7c..88732d5539 100644 --- a/src/API/ServerAPI.php +++ b/src/API/ServerAPI.php @@ -160,6 +160,7 @@ class ServerAPI{ $this->loadAPI("tileentity", "TileEntityAPI"); $this->loadAPI("player", "PlayerAPI"); $this->loadAPI("time", "TimeAPI"); + $this->loadAPI("mob", "MobAPI"); foreach($this->apiList as $ob){ if(is_callable(array($ob, "init"))){ @@ -416,4 +417,4 @@ class ServerAPI{ console("[".($internal === true ? "INTERNAL":"DEBUG")."] API \x1b[36m".$name."\x1b[0m [\x1b[30;1m".$class."\x1b[0m] loaded", true, true, ($internal === true ? 3:2)); } -} \ No newline at end of file +}