menu
#3547865 Call to undefined method pocketmine\block\Air::getInputFace()

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-01-13 20:55:44 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: win
System banner: Windows NT DESKTOP-MKFT699 10.0 build 19041 (Windows 10) AMD64

Error information

Warning: the RedstoneCircuit plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method pocketmine\block\Air::getInputFace()
File: plugins/RedstoneCircuit_dev-31.phar/src/redstone/blockEntities/BlockEntityRedstoneComparator
Line: #70
Error level: Error
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
        return $this->outputSignal;
}

public function setOutputSignal(int $signal) : void {
$this->outputSignal = $signal;
}

protected function hasSideUtility() : bool {
$block = $this->getBlock();
$sideBlock = $block->getSide($block->getInputFace());
$tile = $this->getLevel()->getTile($sideBlock);
if ($tile instanceof Container) {
return true;
}

$id = $sideBlock->getId();
if ($id == 92 || $id == 199) {
return true;
}

#0 plugins/RedstoneCircuit_dev-31.phar/src/redstone/blockEntities/BlockEntityRedstoneComparator(43): redstone\blockEntities\BlockEntityRedstoneComparator->hasSideUtility()
#1 src/pocketmine/level/Level(867): redstone\blockEntities\BlockEntityRedstoneComparator->onUpdate()
#2 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 19181)
#3 src/pocketmine/Server(2446): pocketmine\level\Level->doTick(integer 19181)
#4 src/pocketmine/Server(2577): pocketmine\Server->checkTickUpdates(integer 19181, double 1578948944.5561)
#5 src/pocketmine/Server(2346): pocketmine\Server->tick()
#6 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1785): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[30] C:\Users\hombe\Documents\PMMP\, string[38] C:\Users\hombe\Documents\PMMP\plugins\)
#9 src/pocketmine/PocketMine(291): pocketmine\server()
#10 (1): require(string[85] phar://C:/Users/hombe/Documents/PMMP/PocketMine-MP.phar/src/pocketmine/PocketMin)

Loaded Plugins

  • Show

Server Settings

  • Show