Open teracube opened 7 years ago
Hi,
Please find an error
2017-09-13 [07:22:11] [Server thread/CRITICAL]: Unhandled exception executing command 'unjail Steve' in unjail: Argument 2 passed to pocketmine\inventory\PlayerInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 131 2017-09-13 [07:22:11] [Server thread/CRITICAL]: TypeError: "Argument 2 passed to pocketmine\inventory\PlayerInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 131" (EXCEPTION) in "src/pocketmine/inventory/PlayerInventory" at line 321 2017-09-13 [07:22:11] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(131): pocketmine\inventory\PlayerInventory->setItem(integer 0, string O:21:"pocketmine\item\Stick":7:{s:8:"..block";N;s:5:"..id";i:280;s:7:"..meta";i:0;s:26:".pocketmine\item\Item.tags";s:0:"";s:31:".pocketmine\item\Item.cachedNBT";N;s:5:"count";i:3;s:7:"..name";s:5:"Stick";}) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #1 Jail.phar/src/hoyinm14mc/jail/Jail(525): pocketmine\inventory\BaseInventory->setContents(array Array()) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #2 Jail.phar/src/hoyinm14mc/jail/commands/UnjailCommand(46): hoyinm14mc\jail\Jail->unjail(string Sidahmed44) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #3 src/pocketmine/command/PluginCommand(58): hoyinm14mc\jail\commands\UnjailCommand->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string unjail, array Array()) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #4 src/pocketmine/command/SimpleCommandMap(237): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string unjail, array Array()) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #5 src/pocketmine/Server(1953): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string unjail Sidahmed44) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #6 src/pocketmine/Player(3036): pocketmine\Server->dispatchCommand(pocketmine\Player object, string unjail Sidahmed44) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/CommandStepPacket(69): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\CommandStepPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(106): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandStepPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #12 src/pocketmine/Player(3072): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(145): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #14 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 2.9.105.240:38957, raklib\protocol\EncapsulatedPacket object, integer 0) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(86): raklib\server\ServerHandler->handlePacket() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #16 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #17 src/pocketmine/Server(2473): pocketmine\network\Network->processInterfaces() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #18 src/pocketmine/Server(2239): pocketmine\Server->tick() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #19 src/pocketmine/Server(2118): pocketmine\Server->tickProcessor() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #20 src/pocketmine/Server(1700): pocketmine\Server->start() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(541): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/, string /home/gsp_1445/g4.hmserv.eu-19133/, string /home/gsp_1445/g4.hmserv.eu-19133/plugins/) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #22 /home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar(1): require(string phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP 1.6.2dev-576: PurePerms 1.4.1-dev2; AllSigns 1.0.3; ItemCasePE 1.1.0-dev1; KillMoney 1.1.2; xyz 1.0.3; EconomyAPI 5.7.1-dev2; essentialsTP 1.2.0-dev1; CrateKeys 1.0.0; AlwaysSpawn 2.2.3-dev1; Jail 1.2.0; SimpleAuth 2.0.0-alpha7; SimpleAuthHelper 2.0.6; PiggyCustomEnchants 1.0.2; Slapper 1.3.5; ChatToDiscord 1.1.0; iProtector 4.0.1#3.1b; FactionsPro 1.3.11-1.alpha7; Parkour 1.5.6; EconomyShop 2.0.8-dev2; PureChat 1.4.10-dev2
Hi,
Please find an error
2017-09-13 [07:22:11] [Server thread/CRITICAL]: Unhandled exception executing command 'unjail Steve' in unjail: Argument 2 passed to pocketmine\inventory\PlayerInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 131 2017-09-13 [07:22:11] [Server thread/CRITICAL]: TypeError: "Argument 2 passed to pocketmine\inventory\PlayerInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 131" (EXCEPTION) in "src/pocketmine/inventory/PlayerInventory" at line 321 2017-09-13 [07:22:11] [Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(131): pocketmine\inventory\PlayerInventory->setItem(integer 0, string O:21:"pocketmine\item\Stick":7:{s:8:"..block";N;s:5:"..id";i:280;s:7:"..meta";i:0;s:26:".pocketmine\item\Item.tags";s:0:"";s:31:".pocketmine\item\Item.cachedNBT";N;s:5:"count";i:3;s:7:"..name";s:5:"Stick";}) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #1 Jail.phar/src/hoyinm14mc/jail/Jail(525): pocketmine\inventory\BaseInventory->setContents(array Array()) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #2 Jail.phar/src/hoyinm14mc/jail/commands/UnjailCommand(46): hoyinm14mc\jail\Jail->unjail(string Sidahmed44) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #3 src/pocketmine/command/PluginCommand(58): hoyinm14mc\jail\commands\UnjailCommand->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string unjail, array Array()) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #4 src/pocketmine/command/SimpleCommandMap(237): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string unjail, array Array()) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #5 src/pocketmine/Server(1953): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string unjail Sidahmed44) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #6 src/pocketmine/Player(3036): pocketmine\Server->dispatchCommand(pocketmine\Player object, string unjail Sidahmed44) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/CommandStepPacket(69): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\CommandStepPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(106): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandStepPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #12 src/pocketmine/Player(3072): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(145): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #14 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 2.9.105.240:38957, raklib\protocol\EncapsulatedPacket object, integer 0) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(86): raklib\server\ServerHandler->handlePacket() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #16 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #17 src/pocketmine/Server(2473): pocketmine\network\Network->processInterfaces() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #18 src/pocketmine/Server(2239): pocketmine\Server->tick() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #19 src/pocketmine/Server(2118): pocketmine\Server->tickProcessor() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #20 src/pocketmine/Server(1700): pocketmine\Server->start() 2017-09-13 [07:22:11] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(541): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/, string /home/gsp_1445/g4.hmserv.eu-19133/, string /home/gsp_1445/g4.hmserv.eu-19133/plugins/) 2017-09-13 [07:22:11] [Server thread/DEBUG]: #22 /home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar(1): require(string phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP 1.6.2dev-576: PurePerms 1.4.1-dev2; AllSigns 1.0.3; ItemCasePE 1.1.0-dev1; KillMoney 1.1.2; xyz 1.0.3; EconomyAPI 5.7.1-dev2; essentialsTP 1.2.0-dev1; CrateKeys 1.0.0; AlwaysSpawn 2.2.3-dev1; Jail 1.2.0; SimpleAuth 2.0.0-alpha7; SimpleAuthHelper 2.0.6; PiggyCustomEnchants 1.0.2; Slapper 1.3.5; ChatToDiscord 1.1.0; iProtector 4.0.1#3.1b; FactionsPro 1.3.11-1.alpha7; Parkour 1.5.6; EconomyShop 2.0.8-dev2; PureChat 1.4.10-dev2