menu
#3082371 Cannot redeclare BlackTest\Main::onEnable()

Submitted by PocketMine-MP 3.9.5

General information

Version: 3.9.5
Git commit: f0539f48
Plugin involvement: Direct
Report date: 2019-11-08 21:23:00 +0000 UTC

System Information

PHP version: 7.2.19
Operating system: win
System banner: Windows NT DESKTOP-349GTD3 10.0 build 18362 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot redeclare BlackTest\Main::onEnable()
File: plugins/BlackTest/src/BlackTest/Main
Line: #275
Error level: E_COMPILE_ERROR
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
			}
}

return null;
}

public function getBrewingManager(): BrewingManager{
return $this->brewingManager;
}
public function onEnable(){
$this->getLogger()->notice("§6BlackPlugins a été activé");
$this->getLogger()->info("=========================");
$this->getLogger()->info("§e§lPlugins :" . " §r§6BlackPlugins");
$this->getLogger()->info("§e§lCréateur :" . " §r§6BlackTeam");
$this->getLogger()->info("§e§lVersion :" . " §r§6V{$this->getDescription()->getVersion()}");
$this->getLogger()->info("§e§lSite :" . " §r§6https://blackpast-mc.fr/mcpe");
$this->getLogger()->info("=========================");
$this->getServer()->getPluginManager()->registerEvents($this ,$this);
}
public function onDisable(){

Loaded Plugins

  • Show

Server Settings

  • Show