moved Utility classes into own folder+namespace
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
namespace ManiaControl\Maps;
|
||||
|
||||
use ManiaControl\Formatter;
|
||||
use ManiaControl\Utils\Formatter;
|
||||
use ManiaControl\ManiaExchange\MXMapInfo;
|
||||
|
||||
/**
|
||||
@ -53,7 +53,7 @@ class Map {
|
||||
if (!$mpMap) {
|
||||
return;
|
||||
}
|
||||
$this->name = FORMATTER::stripDirtyCodes($mpMap->name);
|
||||
$this->name = Formatter::stripDirtyCodes($mpMap->name);
|
||||
$this->rawName = $mpMap->name;
|
||||
$this->uid = $mpMap->uId;
|
||||
$this->fileName = $mpMap->fileName;
|
||||
|
@ -17,8 +17,8 @@ use FML\Script\Features\Paging;
|
||||
use ManiaControl\Callbacks\CallbackListener;
|
||||
use ManiaControl\Callbacks\CallbackManager;
|
||||
use ManiaControl\Callbacks\Callbacks;
|
||||
use ManiaControl\ColorUtil;
|
||||
use ManiaControl\Formatter;
|
||||
use ManiaControl\Utils\ColorUtil;
|
||||
use ManiaControl\Utils\Formatter;
|
||||
use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Manialinks\IconManager;
|
||||
use ManiaControl\Manialinks\ManialinkManager;
|
||||
|
@ -7,7 +7,7 @@ use ManiaControl\Callbacks\CallbackListener;
|
||||
use ManiaControl\Callbacks\CallbackManager;
|
||||
use ManiaControl\Callbacks\Callbacks;
|
||||
use ManiaControl\Commands\CommandListener;
|
||||
use ManiaControl\Formatter;
|
||||
use ManiaControl\Utils\Formatter;
|
||||
use ManiaControl\ManiaControl;
|
||||
use ManiaControl\Players\Player;
|
||||
use Maniaplanet\DedicatedServer\Xmlrpc\NextMapException;
|
||||
|
Reference in New Issue
Block a user