removed weird != null comparing
(why are you doing this??)
This commit is contained in:
1 parent
43badf4baa
commit
2c066f7b62
13 files changed
+22
-22
No files matched your search
@@ -98,7 +98,7 @@ class MapCommands implements CommandListener, ManialinkPageAnswerListener, Callb
|
||||
*/
|
||||
public function command_ShowNextMap(array $chat, Player $player) {
|
||||
$nextQueued = $this->maniaControl->mapManager->mapQueue->getNextQueuedMap();
|
||||
if ($nextQueued != null) {
|
||||
if ($nextQueued) {
|
||||
/** @var Player $requester */
|
||||
$requester = $nextQueued[0];
|
||||
/** @var Map $map */
|
||||
|
||||
Reference in new issue
Block a user