Closed xXRyzen closed 6 years ago
Using latest pmmp running on linux:
2017-11-18 [04:22:24] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\block\BlockBreakEvent' to 'FactionsPro v1.3.11-5': Too few arguments to function FactionsPro\FactionMain::pointIsInPlot(), 2 passed in phar:///home/tcagame/waffle/1/plugins/FactionsPro.phar/src/FactionsPro/FactionListener.php on line 97 and exactly 3 expected on FactionsPro\FactionListener 2017-11-18 [04:22:24] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function FactionsPro\FactionMain::pointIsInPlot(), 2 passed in phar:///home/tcagame/waffle/1/plugins/FactionsPro.phar/src/FactionsPro/FactionListener.php on line 97 and exactly 3 expected" (EXCEPTION) in "FactionsPro.phar/src/FactionsPro/FactionMain" at line 397 2017-11-18 [04:22:24] [Server thread/DEBUG]: #0 FactionsPro.phar/src/FactionsPro/FactionListener(97): FactionsPro\FactionMain->pointIsInPlot(integer 4451, integer 4165) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): FactionsPro\FactionListener->factionBlockBreakProtect(pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(FactionsPro\FactionListener object, pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(1644): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #5 src/pocketmine/Player(2359): pocketmine\level\Level->useBreakOn(pocketmine\math\Vector3 object, pocketmine\item\ItemBlock object, pocketmine\Player object, boolean 1) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(149): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #11 src/pocketmine/Player(3048): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #13 src/raklib/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 208.54.39.151:26403, raklib\protocol\EncapsulatedPacket object, integer 0) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #15 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #16 src/pocketmine/Server(2513): pocketmine\network\Network->processInterfaces() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #17 src/pocketmine/Server(2269): pocketmine\Server->tick() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #18 src/pocketmine/Server(2144): pocketmine\Server->tickProcessor() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #19 src/pocketmine/Server(1734): pocketmine\Server->start() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(564): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/tcagame/waffle/1/PocketMine-MP.phar/, string /home/tcagame/waffle/1/, string /home/tcagame/waffle/1/plugins/) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #21 /home/tcagame/waffle/1/PocketMine-MP.phar(1): require(string phar:///home/tcagame/waffle/1/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Thanks, fixed: https://poggit.pmmp.io/p/FactionsPro
Using latest pmmp running on linux:
2017-11-18 [04:22:24] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\block\BlockBreakEvent' to 'FactionsPro v1.3.11-5': Too few arguments to function FactionsPro\FactionMain::pointIsInPlot(), 2 passed in phar:///home/tcagame/waffle/1/plugins/FactionsPro.phar/src/FactionsPro/FactionListener.php on line 97 and exactly 3 expected on FactionsPro\FactionListener 2017-11-18 [04:22:24] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function FactionsPro\FactionMain::pointIsInPlot(), 2 passed in phar:///home/tcagame/waffle/1/plugins/FactionsPro.phar/src/FactionsPro/FactionListener.php on line 97 and exactly 3 expected" (EXCEPTION) in "FactionsPro.phar/src/FactionsPro/FactionMain" at line 397 2017-11-18 [04:22:24] [Server thread/DEBUG]: #0 FactionsPro.phar/src/FactionsPro/FactionListener(97): FactionsPro\FactionMain->pointIsInPlot(integer 4451, integer 4165) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): FactionsPro\FactionListener->factionBlockBreakProtect(pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(FactionsPro\FactionListener object, pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(1644): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\block\BlockBreakEvent object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #5 src/pocketmine/Player(2359): pocketmine\level\Level->useBreakOn(pocketmine\math\Vector3 object, pocketmine\item\ItemBlock object, pocketmine\Player object, boolean 1) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(149): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #11 src/pocketmine/Player(3048): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #13 src/raklib/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 208.54.39.151:26403, raklib\protocol\EncapsulatedPacket object, integer 0) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #15 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #16 src/pocketmine/Server(2513): pocketmine\network\Network->processInterfaces() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #17 src/pocketmine/Server(2269): pocketmine\Server->tick() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #18 src/pocketmine/Server(2144): pocketmine\Server->tickProcessor() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #19 src/pocketmine/Server(1734): pocketmine\Server->start() 2017-11-18 [04:22:24] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(564): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/tcagame/waffle/1/PocketMine-MP.phar/, string /home/tcagame/waffle/1/, string /home/tcagame/waffle/1/plugins/) 2017-11-18 [04:22:24] [Server thread/DEBUG]: #21 /home/tcagame/waffle/1/PocketMine-MP.phar(1): require(string phar:///home/tcagame/waffle/1/PocketMine-MP.phar/src/pocketmine/PocketMine.php)