@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use eXpansion\Framework\Core\Plugins\StatusAwarePluginInterface; |
| 7 | 7 | use eXpansion\Framework\Core\Services\DedicatedConnection\Factory; |
| 8 | 8 | use eXpansion\Framework\Core\Storage\MapStorage; |
| 9 | -use Maniaplanet\DedicatedServer\Connection; |
|
| 10 | 9 | use Maniaplanet\DedicatedServer\Xmlrpc\IndexOutOfBoundException; |
| 11 | 10 | use Maniaplanet\DedicatedServer\Xmlrpc\NextMapException; |
| 12 | 11 | |
@@ -112,9 +112,9 @@ discard block |
||
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | try { |
| 115 | - $currentMap = $this->connection->getCurrentMapInfo(); // sync better |
|
| 115 | + $currentMap = $this->connection->getCurrentMapInfo(); // sync better |
|
| 116 | 116 | } catch (\Exception $e) { |
| 117 | - echo $e->getMessage(). "\n"; |
|
| 117 | + echo $e->getMessage()."\n"; |
|
| 118 | 118 | |
| 119 | 119 | $currentMap = null; |
| 120 | 120 | } |
@@ -130,9 +130,9 @@ discard block |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | try { |
| 133 | - $nextMap = $this->connection->getNextMapInfo(); // sync better |
|
| 133 | + $nextMap = $this->connection->getNextMapInfo(); // sync better |
|
| 134 | 134 | } catch (\Exception $e) { |
| 135 | - echo $e->getMessage(). "\n"; |
|
| 135 | + echo $e->getMessage()."\n"; |
|
| 136 | 136 | $nextMap = null; |
| 137 | 137 | } |
| 138 | 138 | // next map can be false if map by index is not found.. |