menu
#2822659 Block damage values must be 0-15, not -1

Submitted by PocketMine-MP 3.9.4

General information

Version: 3.9.4
Git commit: 1be6783c
Plugin involvement: Indirect
Report date: 2019-09-10 22:21:04 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64

Error information

Warning: the RedstoneCircuit plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Block damage values must be 0-15, not -1
File: src/pocketmine/block/Block
Line: #136
Error level: InvalidArgumentException
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
	final public function getDamage() : int{
return $this->meta;
}

/**
* @param int $meta
*/
final public function setDamage(int $meta) : void{
if($meta < 0 or $meta > 0xf){
throw new \InvalidArgumentException("Block damage values must be 0-15, not $meta");
}
$this->meta = $meta;
}

/**
* Bitmask to use to remove superfluous information from block meta when getting its item form or name.
* This defaults to -1 (don't remove any data). Used to remove rotation data and bitflags from block drops.
*
* If your block should not have any meta value when it's dropped as an item, override this to return 0 in
* descendent classes.
#0 plugins/RedstoneCircuit_dev-16.phar/src/redstone/blocks/BlockDaylightDetector(54): pocketmine\block\Block->setDamage(integer -1)
#1 plugins/RedstoneCircuit_dev-16.phar/src/redstone/blockEntities/BlockEntityDaylightDetector(36): redstone\blocks\BlockDaylightDetector->updatePower()
#2 src/pocketmine/level/Level(867): redstone\blockEntities\BlockEntityDaylightDetector->onUpdate()
#3 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 8060)
#4 src/pocketmine/Server(2445): pocketmine\level\Level->doTick(integer 8060)
#5 src/pocketmine/Server(2576): pocketmine\Server->checkTickUpdates(integer 8060, double 1568154064.3351)
#6 src/pocketmine/Server(2345): pocketmine\Server->tick()
#7 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1784): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[34] /home/gsp_2553/g2.hmserv.eu-19140/, string[42] /home/gsp_2553/g2.hmserv.eu-19140/plugins/)
#10 src/pocketmine/PocketMine(299): pocketmine\server()
#11 (1): require(string[89] phar:///home/gsp_2553/g2.hmserv.eu-19140/PocketMine-MP.phar/src/pocketmine/Pocke)

Loaded Plugins

  • Show

Server Settings

  • Show