Closed s0nify closed 6 years ago
Paste schematic not working, since NBT code was changed in PMMP.
PocketMine version: PMMP 1.7-743 ALPHA-11 BlockSniper version: Latest Game version: W10
[17:25:15] [Server thread/CRITICAL]: Необработанное исключение при выполнении команды 'paste schematic 1' в paste: Return value of Schematic\Schematic::getNBT() must be an instance of pocketmine\nbt\NBT, instance of pocketmine\nbt\BigEndianNBTStream returned [17:25:15] [Server thread/CRITICAL]: TypeError: "Return value of Schematic\Schematic::getNBT() must be an instance of pocketmine\nbt\NBT, instance of pocketmine\nbt\BigEndianNBTStream returned" (EXCEPTION) in "BlockSniper/src/Schematic/Schematic" at line 116 [17:25:15] [Server thread/DEBUG]: #0 BlockSniper/src/Schematic/Schematic(371): Schematic\Schematic->getNBT() [17:25:15] [Server thread/DEBUG]: #1 BlockSniper/src/BlockHorizons/BlockSniper/commands/cloning/PasteCommand(66): Schematic\Schematic->decodeSizes() [17:25:15] [Server thread/DEBUG]: #2 src/pocketmine/command/SimpleCommandMap(258): BlockHorizons\BlockSniper\commands\cloning\PasteCommand->execute(pocketmine\Player object, string paste, array Array()) [17:25:15] [Server thread/DEBUG]: #3 src/pocketmine/Server(1989): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string paste schematic 1) [17:25:15] [Server thread/DEBUG]: #4 src/pocketmine/Player(2117): pocketmine\Server->dispatchCommand(pocketmine\Player object, string paste schematic 1) [17:25:15] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /paste schematic 1) [17:25:15] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) [17:25:15] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) [17:25:15] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) [17:25:15] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) [17:25:15] [Server thread/DEBUG]: #10 src/pocketmine/Player(2964): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) [17:25:15] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(149): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) [17:25:15] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/server/ServerHandler(103): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 95.188.74.115 56812, raklib\protocol\EncapsulatedPacket object, integer 0) [17:25:15] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(88): raklib\server\ServerHandler->handlePacket() [17:25:15] [Server thread/DEBUG]: #14 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() [17:25:15] [Server thread/DEBUG]: #15 src/pocketmine/Server(2531): pocketmine\network\Network->processInterfaces() [17:25:15] [Server thread/DEBUG]: #16 src/pocketmine/Server(2283): pocketmine\Server->tick() [17:25:15] [Server thread/DEBUG]: #17 src/pocketmine/Server(2158): pocketmine\Server->tickProcessor() [17:25:15] [Server thread/DEBUG]: #18 src/pocketmine/Server(1744): pocketmine\Server->start() [17:25:15] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/iskramc/server/, string /home/iskramc/server/plugins/) [17:25:15] [Server thread/DEBUG]: #20 /home/iskramc/server/PocketMine-MP.phar(1): require(string phar:///home/iskramc/server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Fixed on the latest commit. (and poggit release)
Description
Paste schematic not working, since NBT code was changed in PMMP.
Versions
PocketMine version: PMMP 1.7-743 ALPHA-11 BlockSniper version: Latest Game version: W10
Crashdump and/or console errors