Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

//schem save <name> crash #247

Open
TheLemzz opened this issue Apr 28, 2024 · 0 comments
Open

//schem save <name> crash #247

TheLemzz opened this issue Apr 28, 2024 · 0 comments

Comments

@TheLemzz
Copy link

when i use //schem save test, this crash happen:

Thread: Main
Error: czechpmdevs\buildertools\blockstorage\BlockArray::addBlockAt(): Argument #4 ($fullStateId) must be of type int, null given, called in /root/MerryWorld/plugins/BuilderTools-2.0.0 (1)/src/czechpmdevs/buildertools/schematics/SchematicsManager.php on line 140
File: plugins/BuilderTools-2.0.0 (1)/src/czechpmdevs/buildertools/blockstorage/BlockArray
Line: 58
Type: TypeError
Backtrace:
#0 plugins/BuilderTools-2.0.0 (1)/src/czechpmdevs/buildertools/schematics/SchematicsManager(140): czechpmdevs\buildertools\blockstorage\BlockArray->addBlockAt(int 0, int 0, int 0, null)
#1 plugins/BuilderTools-2.0.0 (1)/src/czechpmdevs/buildertools/session/selection/CuboidSelection(219): czechpmdevs\buildertools\schematics\SchematicsManager::createSchematic(object pocketmine\player\Player#145665, object pocketmine\math\Vector3#255116, object pocketmine\math\Vector3#257740, string[9] novispawn, object Closure#255004)
#2 plugins/BuilderTools-2.0.0 (1)/src/czechpmdevs/buildertools/commands/schematics/SchematicCommand(70): czechpmdevs\buildertools\session\selection\CuboidSelection->saveToSchematic(string[9] novispawn, object Closure#255004)
#3 pmsrc/src/command/SimpleCommandMap(212): czechpmdevs\buildertools\commands\schematics\SchematicCommand->execute(object pocketmine\player\Player#145665, string[10] /schematic, array[2])
#4 pmsrc/src/Server(1431): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#145665, string[27] /schematic create novispawn)
#5 pmsrc/src/player/Player(1516): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#145665, string[27] /schematic create novispawn)
#6 pmsrc/src/network/mcpe/handler/InGamePacketHandler(819): pocketmine\player\Player->chat(string[28] //schematic create novispawn)
#7 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#236431)
#8 pmsrc/src/network/mcpe/NetworkSession(468): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#111220)
#9 pmsrc/src/network/mcpe/NetworkSession(406): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#236431, string[50] M.//schematic create novispawn..C......T.yE.~$...L)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(214): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[52] .2M.//schematic create novispawn..C......T.yE.~$...L)
#11 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[61] ...z...C..R.F^..[...G...f.......o....si..t.......G....dq.a..:)
#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(107): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#46813)
#13 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#15 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#17 pmsrc/src/Server(1696): pocketmine\snooze\SleeperHandler->sleepUntil(float 1714327687.1542)
#18 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#19 pmsrc/src/PocketMine(355): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[17] /root/MerryWorld/, string[25] /root/MerryWorld/plugins/)
#20 pmsrc/src/PocketMine(378): pocketmine\server()
@TheLemzz TheLemzz changed the title //schem save <name> bug //schem save <name> crash Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant