removed weird == null comparing
This commit is contained in:
1 parent
d6cbba3d4b
commit
fd0d84dfb0
7 files changed
+10
-20
No files matched your search
@@ -99,7 +99,7 @@ class ManiaExchangeList implements CallbackListener, ManialinkPageAnswerListener
|
||||
}
|
||||
|
||||
$function = function ($maps) use (&$player) {
|
||||
if ($maps == null) {
|
||||
if (!$maps) {
|
||||
$this->maniaControl->chat->sendError('No maps found, or MX is down!', $player->login);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user