mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Set up base for upcoming Mob MobAI and MobAPI
This commit is contained in:
parent
00de63986b
commit
8ec11b35ad
2 changed files with 39 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue