jasonw4331 / MyPlot

Plot and protection plugin for PocketMine-MP
https://discord.gg/Qqcpp9Q
MIT License
101 stars 89 forks source link

/p deny #471

Closed fernanACM closed 2 years ago

fernanACM commented 2 years ago
Error: pocketmine\math\AxisAlignedBB::isVectorInside(): Argument #1 ($vector) must be of type pocketmine\math\Vector3, ipad54\netherblocks\player\Player given, called in /home/container/plugins/MyPlot-API4/src/MyPlot/subcommand/DenyPlayerSubCommand.php on line 67
File: pmsrc/vendor/pocketmine/math/src/AxisAlignedBB
Line: 358
Type: TypeError
Backtrace:
#0 plugins/MyPlot-API4/src/MyPlot/subcommand/DenyPlayerSubCommand(67): pocketmine\math\AxisAlignedBB->isVectorInside(object ipad54\netherblocks\player\Player#260351)
#1 plugins/MyPlot-API4/src/MyPlot/Commands(197): MyPlot\subcommand\DenyPlayerSubCommand->execute(object ipad54\netherblocks\player\Player#291280, array[2])
#2 pmsrc/src/command/SimpleCommandMap(220): MyPlot\Commands->execute(object ipad54\netherblocks\player\Player#291280, string[1] p, array[2])
#3 pmsrc/src/Server(1408): pocketmine\command\SimpleCommandMap->dispatch(object ipad54\netherblocks\player\Player#291280, string[15] p deny AK4ME AS)
#4 pmsrc/src/player/Player(1382): pocketmine\Server->dispatchCommand(object ipad54\netherblocks\player\Player#291280, string[15] p deny AK4ME AS)
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(751): pocketmine\player\Player->chat(string[16] /p deny AK4ME AS)
#6 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#155830)
NhanAZ commented 2 years ago

same problem

supercrafter333 commented 2 years ago

Just remove netherblocks.

jasonw4331 commented 2 years ago

Please provide the required information and reopen this issue.