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

Error when using replace command #132

Closed
Zedstar16 opened this issue Jan 13, 2021 · 1 comment
Closed

Error when using replace command #132

Zedstar16 opened this issue Jan 13, 2021 · 1 comment

Comments

@Zedstar16
Copy link

Stack trace:

[22:20:18] [Server thread/CRITICAL]: Error: "Cannot use object of type pocketmine\math\Vector3 as array" (EXCEPTION) in "plugins/BuilderTools_dev-94.phar/src/czechpmdevs/buildertools/editors/Replacement" at line 52
[22:20:18] [Server thread/CRITICAL]: #0 plugins/BuilderTools_dev-94.phar/src/czechpmdevs/buildertools/commands/ReplaceCommand(79): czechpmdevs\buildertools\editors\Replacement->prepareReplace(object pocketmine\level\Position, object pocketmine\level\Position, object pocketmine\level\Level, string[2] 57, string[2] 17)
[22:20:18] [Server thread/CRITICAL]: #1 pmsrc/src/pocketmine/command/SimpleCommandMap(248): czechpmdevs\buildertools\commands\ReplaceCommand->execute(object pocketmine\Player, string[8] /replace, array[2])
[22:20:18] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/Server(1810): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[14] /replace 57 17)
[22:20:18] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/Player(2322): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[14] /replace 57 17)
[22:20:18] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[15] //replace 57 17)
[22:20:18] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[22:20:18] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[22:20:18] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[22:20:18] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[22:20:18] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Player(3273): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[22:20:18] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[22:20:18] [Server thread/CRITICAL]: #11 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 96.21.21.34 63419, object raklib\protocol\EncapsulatedPacket, integer 0)
[22:20:18] [Server thread/CRITICAL]: #12 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[22:20:18] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[22:20:18] [Server thread/CRITICAL]: #14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
[22:20:18] [Server thread/CRITICAL]: #15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[22:20:18] [Server thread/CRITICAL]: #16 pmsrc/src/pocketmine/Server(2156): pocketmine\snooze\SleeperHandler->sleepUntil(double 1610490018.5943)
[22:20:18] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
[22:20:18] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
[22:20:18] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[20] /home/servers/build/, string[28] /home/servers/build/plugins/)
[22:20:18] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/PocketMine(302): pocketmine\server()
[22:20:18] [Server thread/CRITICAL]: #21 pmsrc(11): require(string[75] phar:///home/servers/build/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

@VixikHD
Copy link
Contributor

VixikHD commented Feb 23, 2021

Fixed in last commit

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

2 participants