From 196b6eeee47ca4c41c9ddb2603d52a2f94a1d996 Mon Sep 17 00:00:00 2001 From: kremsy Date: Mon, 9 Dec 2013 22:22:01 +0100 Subject: [PATCH] changed the mapcommands to the new structure --- application/core/Maps/MapCommands.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/core/Maps/MapCommands.php b/application/core/Maps/MapCommands.php index c3860979..bd286824 100644 --- a/application/core/Maps/MapCommands.php +++ b/application/core/Maps/MapCommands.php @@ -27,10 +27,10 @@ class MapCommands implements CommandListener { public function __construct(ManiaControl $maniaControl) { $this->maniaControl = $maniaControl; - $this->maniaControl->commandManager->registerCommandListener('/nextmap', $this, 'command_NextMap'); - $this->maniaControl->commandManager->registerCommandListener('/restartmap', $this, 'command_RestartMap'); - $this->maniaControl->commandManager->registerCommandListener('/addmap', $this, 'command_AddMap'); - $this->maniaControl->commandManager->registerCommandListener('/removemap', $this, 'command_RemoveMap'); + $this->maniaControl->commandManager->registerCommandListener('nextmap', $this, 'command_NextMap',true); + $this->maniaControl->commandManager->registerCommandListener('restartmap', $this, 'command_RestartMap',true); + $this->maniaControl->commandManager->registerCommandListener('addmap', $this, 'command_AddMap',true); + $this->maniaControl->commandManager->registerCommandListener('removemap', $this, 'command_RemoveMap',true); } /**