koth map remove after server restart #26
Labels
Status: Unconfirmed
When a issue is first opened and is being looked into.
Type: Bug/Issue
When a issue is about a Bug/Issue.
hi
i have a problem every time i restart the server the koth map remove.
i need always after a reststart set new map.
this is the error in console.
TypeError: "Argument 2 passed to Jackthehack21\KOTH\FloatingText::__construct() must be an instance of pocketmine\level\Level, null given, called in phar://C:/Users/......../Desktop/PocketMine-MP-minigames-hub/plugins/KOTH.phar/src/Jackthehack21/KOTH/Arena.php on line 215" (EXCEPTION) in "plugins/KOTH.phar/src/Jackthehack21/KOTH/FloatingText" at line 45
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #0 plugins/KOTH.phar/src/Jackthehack21/KOTH/Arena(215): Jackthehack21\KOTH\FloatingText->__construct(object Jackthehack21\KOTH\Main, NULL , object pocketmine\math\Vector3, string[13] ..cKing: ..6-)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #1 plugins/KOTH.phar/src/Jackthehack21/KOTH/Arena(130): Jackthehack21\KOTH\Arena->createKingTextParticle()
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #2 plugins/KOTH.phar/src/Jackthehack21/KOTH/Main(135): Jackthehack21\KOTH\Arena->__construct(object Jackthehack21\KOTH\Main, string[5] koth1, integer 2, integer 10, integer 300, array[2], array[1], array[1], string[5] koth1)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #3 plugins/KOTH.phar/src/Jackthehack21/KOTH/Main(102): Jackthehack21\KOTH\Main->loadArenas()
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #4 plugins/KOTH.phar/src/Jackthehack21/KOTH/Main(149): Jackthehack21\KOTH\Main->initResources()
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #5 src/pocketmine/plugin/PluginBase(116): Jackthehack21\KOTH\Main->onEnable()
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #6 src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #7 src/pocketmine/Server(1787): pocketmine\plugin\PluginManager->enablePlugin(object Jackthehack21\KOTH\Main)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #8 src/pocketmine/Server(1773): pocketmine\Server->enablePlugin(object Jackthehack21\KOTH\Main)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #9 src/pocketmine/Server(1586): pocketmine\Server->enablePlugins(integer 1)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #10 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[52] C:\Users.......\Desktop\PocketMine-MP-minigames-hub, string[60] C:\Users.......\Desktop\PocketMine-MP-minigames-hub\plugins)
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #11 src/pocketmine/PocketMine(304): pocketmine\server()
2020-07-31 [12:15:41] [Server thread/CRITICAL]: #12 (11): require(string[107] phar://C:/Users/....../Desktop/PocketMine-MP-minigames-hub/PocketMine-MP.phar/sr)
The text was updated successfully, but these errors were encountered: