fixed ready
This commit is contained in:
parent
b618c7b255
commit
79cb4ee114
@ -105,6 +105,10 @@ class WorldComponent implements Listener
|
||||
else
|
||||
{
|
||||
print("Error Extracting: " . $this->gameFolder . "\n");
|
||||
|
||||
Server::getInstance()->getPluginManager()->callEvent(new WorldLoadFailEvent($this->arena));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
//Load World
|
||||
@ -116,11 +120,11 @@ class WorldComponent implements Listener
|
||||
|
||||
$this->loadWorldData();
|
||||
|
||||
$this->ready = true;
|
||||
|
||||
print("Successfully Loaded World: " . $this->gameFolder . "\n");
|
||||
|
||||
Server::getInstance()->getPluginManager()->callEvent(new WorldLoadSuccessEvent($this->arena));
|
||||
|
||||
$this->ready = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user