fix admin not added when loading guestlist
This commit is contained in:
@@ -23,7 +23,7 @@ class GuestlistManager implements CommandListener, CallbackListener, TimerListen
|
|||||||
* Constants
|
* Constants
|
||||||
*/
|
*/
|
||||||
const PLUGIN_ID = 154;
|
const PLUGIN_ID = 154;
|
||||||
const PLUGIN_VERSION = 2.4;
|
const PLUGIN_VERSION = 2.5;
|
||||||
const PLUGIN_NAME = 'Guestlist Manager';
|
const PLUGIN_NAME = 'Guestlist Manager';
|
||||||
const PLUGIN_AUTHOR = 'Beu';
|
const PLUGIN_AUTHOR = 'Beu';
|
||||||
|
|
||||||
@@ -321,6 +321,8 @@ class GuestlistManager implements CommandListener, CallbackListener, TimerListen
|
|||||||
$this->maniaControl->getChat()->sendError("Can't load guestlist: ". $th->getMessage(), $player);
|
$this->maniaControl->getChat()->sendError("Can't load guestlist: ". $th->getMessage(), $player);
|
||||||
Logger::logError("Can't load guestlist: ". $th->getMessage());
|
Logger::logError("Can't load guestlist: ". $th->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->addAdminsToGuestlist();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user