menu
#2580562 constant(): Couldn't find constant pocketmine\block\Block::REDSTONE

Submitted by PocketMine-MP 3.8.6

General information

Version: 3.8.6
Git commit: 1bfd6f2a
Plugin involvement: Direct
Report date: 2019-07-11 16:38:20 +0000 UTC

System Information

PHP version: 7.2.8
Operating system: linux
System banner: Linux d01d71f3bfdf 4.9.180-xxxx-std-ipv6-64 #746430 SMP Mon Jun 3 08:31:24 UTC 2019 x86_64

Error information

Warning: the OreGen plugin was directly involved in this crash. Please contact the plugin author.
Message: constant(): Couldn't find constant pocketmine\block\Block::REDSTONE
File: plugins/OreGen_dev-5.phar/src/corytortoise/OreGen/Main
Line: #58
Error level: ErrorException
49
50
51
52
53
54
55
56
57
58
59
60
61
62
                foreach($this->getConfig()->get("Obsidian") as $newId => $chance) {
if(mt_rand(1, $chance) === 1) {
$newBlock = $newId;
continue;
}
}
break;
}
if(!is_int($newBlock)) {
$newBlock = constant('pocketmine\block\Block::' . (strtoupper($newBlock)));
}
return BlockFactory::get($newBlock ?? $id);
}
}
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[67] constant(): Couldn't find constant pocketmine\block\Block::REDSTONE, string[112] phar:///home/minecraft/multicraft/servers/server64011/plugins/OreGen_dev-5.phar/, integer 58, array[4])
#1 plugins/OreGen_dev-5.phar/src/corytortoise/OreGen/Main(58): constant(string[32] pocketmine\block\Block::REDSTONE)
#2 plugins/OreGen_dev-5.phar/src/corytortoise/OreGen/EventListener(21): corytortoise\OreGen\Main->getNewBlock(integer 4)
#3 src/pocketmine/plugin/MethodEventExecutor(38): corytortoise\OreGen\EventListener->onBlockGrow(object pocketmine\event\block\BlockFormEvent)
#4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object corytortoise\OreGen\EventListener, object pocketmine\event\block\BlockFormEvent)
#5 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\block\BlockFormEvent)
#6 src/pocketmine/block/Liquid(439): pocketmine\event\Event->call()
#7 src/pocketmine/block/Lava(89): pocketmine\block\Liquid->liquidCollide(object pocketmine\block\Water, object pocketmine\block\Cobblestone)
#8 src/pocketmine/block/Liquid(218): pocketmine\block\Lava->checkForHarden()
#9 src/pocketmine/level/Level(1666): pocketmine\block\Liquid->onNearbyBlockChange()
#10 src/pocketmine/block/Liquid(310): pocketmine\level\Level->setBlock(object pocketmine\level\Position, object pocketmine\block\Lava, boolean 1, boolean 1)
#11 src/pocketmine/block/Lava(98): pocketmine\block\Liquid->flowIntoBlock(object pocketmine\block\Air, integer 2)
#12 src/pocketmine/block/Liquid(280): pocketmine\block\Lava->flowIntoBlock(object pocketmine\block\Air, integer 2)
#13 src/pocketmine/level/Level(824): pocketmine\block\Liquid->onScheduledUpdate()
#14 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 17883)
#15 src/pocketmine/Server(2445): pocketmine\level\Level->doTick(integer 17883)
#16 src/pocketmine/Server(2576): pocketmine\Server->checkTickUpdates(integer 17883, double 1562863100.7773)
#17 src/pocketmine/Server(2345): pocketmine\Server->tick()
#18 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
#19 src/pocketmine/Server(1784): pocketmine\Server->start()
#20 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[47] /home/minecraft/multicraft/servers/server64011/, string[55] /home/minecraft/multicraft/servers/server64011/plugins/)
#21 (1): require(string[114] phar:///home/minecraft/multicraft/servers/server64011/PMMP-1.11.0-Latest-Stable.)

Loaded Plugins

  • Show

Server Settings

  • Show