menu
#2471213 Argument 1 passed to pocketmine\block\Block::get() must be of the type integer, object given

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Indirect
Report date: 2019-06-12 14:48:37 +0000 UTC

System Information

PHP version: 7.2.2
Operating system: win
System banner: Windows NT UHUVV16TSDJ7IAR 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) AMD64

Error information

Warning: the SimonSay 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 1 passed to pocketmine\block\Block::get() must be of the type integer, object given
File: src/pocketmine/block/Block
Line: #59
Error level: TypeError
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
	 *
* This function redirects to {@link BlockFactory#get}.
*
* @param int $id
* @param int $meta
* @param Position|null $pos
*
* @return Block
*/
public static function get(int $id, int $meta = 0, Position $pos = null) : Block{
return BlockFactory::get($id, $meta, $pos);
}

/** @var int */
protected $id;
/** @var int */
protected $meta = 0;
/** @var string|null */
protected $fallbackName;
/** @var int|null */
#0 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(127): pocketmine\block\Block::get(pocketmine\block\Planks object)
#1 plugins/#SimonSay/src/tungsten_simonsay/Task/GameTask(311): tungsten_simonsay\Task\GameTask->resetBlock()
#2 src/pocketmine/scheduler/TaskHandler(159): tungsten_simonsay\Task\GameTask->onRun(integer 941)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 941)
#4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 941)
#5 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 941)
#6 src/pocketmine/Server(2334): pocketmine\Server->tick()
#7 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1774): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Administrator\Desktop\MCPE\, string C:\Users\Administrator\Desktop\MCPE\plugins\)
#10 (1): require(string phar://C:/Users/Administrator/Desktop/MCPE/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show