menu
#4583083 Call to a member function isRunning() on null

Submitted by PocketMine-MP 3.15.2

General information

Version: 3.15.2
Git commit: d7a66ad7
Plugin involvement: None
Report date: 2020-10-17 18:51:59 +0000 UTC

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux 79c86f76-140b-47d0-831d-df7f880932a4 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64

Error information

Message: Call to a member function isRunning() on null
File: /home/container/plugin_data/GameEngine/mode/bedwars/generators/IslandGenerator
Line: #138
Error level: Error
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
        }
}

public function dropItem(Item $item): void{
$this->getLevel()->dropItem($this->add(0, 1), $item);
}

public function entityBaseTick(int $tickDiff = 1): bool{
$parent = parent::entityBaseTick($tickDiff);
if($this->mode->isRunning()){
if(!$this->delayed){
if($this->ironTick === null){
Utils::delayTask(function (): void{
$this->ironTick = $this->getIronTick();
$this->goldTick = $this->getGoldTick();
$this->emeraldTick = $this->getEmeraldTick();
$this->delayed = true;
}, 10);
}
return $parent;
#0 src/pocketmine/entity/Entity(1395): bedwars\generators\IslandGenerator->entityBaseTick(integer 1)
#1 src/pocketmine/level/Level(852): pocketmine\entity\Entity->onUpdate(integer 2221)
#2 src/pocketmine/level/Level(785): pocketmine\level\Level->actuallyDoTick(integer 2221)
#3 src/pocketmine/Server(2267): pocketmine\level\Level->doTick(integer 2221)
#4 src/pocketmine/Server(2398): pocketmine\Server->checkTickUpdates(integer 2221, double 1602960719.3241)
#5 src/pocketmine/Server(2154): pocketmine\Server->tick()
#6 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1588): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#9 src/pocketmine/PocketMine(304): pocketmine\server()
#10 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies