GamakCZ / SkyWars-Pro

Information about SkyWars Pro
2 stars 1 forks source link

savelevel throws an error #15

Open Saxavlax001 opened 4 years ago

Saxavlax001 commented 4 years ago

When you do savelevel on a disabled or on an enabled map in setup mode,it just throws an error,that happens on SkyWars Pro 1.2.0 codename Bedrock play: [21:17:15] [Server thread/INFO]: [Saxavlax001: Save completed in 0.091 seconds] [21:17:29] [Server thread/CRITICAL]: ErrorException: "Undefined property: vixikhd\skywars\SkyWars::$data" (EXCEPTION) in "plugins/SkyWars_v1.2.0 PRO [Codename BedrockPlay].phar/src/vixikhd/skywars/SkyWars" at line 423 [21:17:29] [Server thread/DEBUG]: #0 plugins/SkyWars_v1.2.0 PRO [Codename BedrockPlay].phar/src/vixikhd/skywars/SkyWars(423): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[50] Undefined property: vixikhd\skywars\SkyWars::$data, string[109] phar:///home/container/plugins/SkyWars_v1.2.0 PRO [Codename BedrockPlay].phar/sr, integer 423, array[5]) [21:17:29] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(42): vixikhd\skywars\SkyWars->onChat(object pocketmine\event\player\PlayerChatEvent) [21:17:29] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object vixikhd\skywars\SkyWars, object pocketmine\event\player\PlayerChatEvent) [21:17:29] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerChatEvent) [21:17:29] [Server thread/DEBUG]: #4 src/pocketmine/Player(2205): pocketmine\event\Event->call() [21:17:29] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(131): pocketmine\Player->chat(string[9] savelevel) [21:17:29] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/TextPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(object pocketmine\network\mcpe\protocol\TextPacket) [21:17:29] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\TextPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [21:17:29] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\TextPacket) [21:17:29] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [21:17:29] [Server thread/DEBUG]: #10 src/pocketmine/Player(3096): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [21:17:29] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [21:17:29] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 46.198.200.92 55239, object raklib\protocol\EncapsulatedPacket, integer 0) [21:17:29] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [21:17:29] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [21:17:29] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [21:17:29] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() [21:17:29] [Server thread/DEBUG]: #17 src/pocketmine/Server(2146): pocketmine\snooze\SleeperHandler->sleepUntil(double 1582406249.5888) [21:17:29] [Server thread/DEBUG]: #18 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor() [21:17:29] [Server thread/DEBUG]: #19 src/pocketmine/Server(1584): pocketmine\Server->start() [21:17:29] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [21:17:29] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(296): pocketmine\server()

[21:17:29] [Server thread/INFO]: [StaffChat] Saxavlax001 disconnected [21:17:29] [Server thread/INFO]: Saxavlax001[/x.x.x.x:55239] logged out due to Internal server error [21:17:29] [RakLibServer thread/NOTICE]: Blocked x.x.x.x for 5 seconds

GamakCZ commented 4 years ago

Thx, in 1.2.0 isn't needed to savelevel, it's saved while enabling

GamakCZ commented 4 years ago

19

GamakCZ commented 4 years ago

Does this error still appear in 1.2.0-beta2? @Saxavlax001