Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daylight sensor #28

Closed
usser1976 opened this issue Apr 9, 2019 · 1 comment
Closed

Daylight sensor #28

usser1976 opened this issue Apr 9, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@usser1976
Copy link

PocketMine-MP Crash Dump Tue Apr 9 05:32:26 CEST 2019

Error: Block damage values must be 0-15, not -1
File: src/pocketmine/block/Block
Line: 136
Type: InvalidArgumentException

A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: RedstoneCircuit v2.0.0

Code:

Backtrace:
#0 plugins/RedstoneCircuit_dev-26.phar/src/redstone/blocks/BlockDaylightDetector(54): pocketmine\block\Block->setDamage(integer -1)
#1 plugins/RedstoneCircuit_dev-26.phar/src/redstone/blockEntities/BlockEntityDaylightDetector(36): redstone\blocks\BlockDaylightDetector->updatePower()
#2 src/pocketmine/level/Level(863): redstone\blockEntities\BlockEntityDaylightDetector->onUpdate()
#3 src/pocketmine/level/Level(794): pocketmine\level\Level->actuallyDoTick(integer 146672)
#4 src/pocketmine/Server(2425): pocketmine\level\Level->doTick(integer 146672)
#5 src/pocketmine/Server(2556): pocketmine\Server->checkTickUpdates(integer 146672, double 1554780746.6741)
#6 src/pocketmine/Server(2325): pocketmine\Server->tick()
#7 src/pocketmine/Server(2186): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1765): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(250): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/minecraft/, string /home/minecraft/plugins/)
#10 (1): require(string phar:///home/minecraft/pocketmine.phar/src/pocketmine/PocketMine.php)

@usser1976
Copy link
Author

When the sensor is placed in a cellar. Server crash

@tedo0627 tedo0627 added the bug Something isn't working label Apr 10, 2019
@zPqguro zPqguro mentioned this issue May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants