menu
#3082047 Argument 3 passed to pocketmine\item\Item::get() must be of the type int, null given

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Indirect
Report date: 2019-11-08 19:26:45 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux LegendaryCraftITA 5.0.0-11-generic #12-Ubuntu SMP Thu Apr 11 16:41:13 UTC 2019 x86_64

Error information

Warning: the MysteryCrate plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Argument 3 passed to pocketmine\item\Item::get() must be of the type int, null given
File: src/pocketmine/item/Item
Line: #104
Error level: TypeError
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
	 * This function redirects to {@link ItemFactory#get}.
*
* @param int $id
* @param int $meta
* @param int $count
* @param CompoundTag|string $tags
*
* @return Item
*/
public static function get(int $id, int $meta = 0, int $count = 1, $tags = "") : Item{
return ItemFactory::get($id, $meta, $count, $tags);
}

/**
* Tries to parse the specified string into Item ID/meta identifiers, and returns Item instances it created.
*
* This function redirects to {@link ItemFactory#fromString}.
*
* @param string $str
* @param bool $multiple
#0 plugins/MysteryCrate (1).phar/src/JackMD/MysteryCrate/UpdaterEvent(153): pocketmine\item\Item::get(integer 264, integer 0, NULL )
#1 plugins/MysteryCrate (1).phar/src/JackMD/MysteryCrate/UpdaterEvent(98): JackMD\MysteryCrate\UpdaterEvent->getReward()
#2 plugins/MysteryCrate (1).phar/src/JackMD/MysteryCrate/libs/muqsit/invmenu/inventories/BaseFakeInventory(100): JackMD\MysteryCrate\UpdaterEvent->closeInventory(object pocketmine\Player, object JackMD\MysteryCrate\libs\muqsit\invmenu\inventories\ChestInventory)
#3 src/pocketmine/inventory/BaseInventory(416): JackMD\MysteryCrate\libs\muqsit\invmenu\inventories\BaseFakeInventory->onClose(object pocketmine\Player)
#4 src/pocketmine/Player(3937): pocketmine\inventory\BaseInventory->close(object pocketmine\Player)
#5 src/pocketmine/Player(3953): pocketmine\Player->removeWindow(object JackMD\MysteryCrate\libs\muqsit\invmenu\inventories\ChestInventory, boolean 1)
#6 src/pocketmine/Player(3539): pocketmine\Player->removeAllWindows(boolean 1)
#7 src/pocketmine/Player(3274): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[81] ..cMysteryCrate caught fire!.Please report to Admin to look for error on console)
#8 plugins/MysteryCrate (1).phar/src/JackMD/MysteryCrate/UpdaterEvent(148): pocketmine\Player->kick(string[81] ..cMysteryCrate caught fire!.Please report to Admin to look for error on console, boolean )
#9 plugins/MysteryCrate (1).phar/src/JackMD/MysteryCrate/UpdaterEvent(216): JackMD\MysteryCrate\UpdaterEvent->getReward()
#10 src/pocketmine/scheduler/TaskHandler(159): JackMD\MysteryCrate\UpdaterEvent->onRun(integer 99896)
#11 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 99896)
#12 src/pocketmine/plugin/PluginManager(681): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 99896)
#13 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 99896)
#14 src/pocketmine/Server(2346): pocketmine\Server->tick()
#15 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#16 src/pocketmine/Server(1784): pocketmine\Server->start()
#17 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /root/, string[14] /root/plugins/)
#18 src/pocketmine/PocketMine(300): pocketmine\server()
#19 (1): require(string[61] phar:///root/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show