#4774817 Access level to cosmicpe\floatingtext\Loader::onEnable() must be public (as in class pocketmine\plugin\PluginBase)
Submitted by PocketMine-MP 3.17.5
General information
Version: | 3.17.5 |
---|---|
Git commit: | 3a0c8dd5 |
Plugin involvement: | Direct |
Report date: | 2021-02-23 00:48:39 +0000 UTC |
Server uptime: | 0 days 1 hours 7 minutes 33 seconds |
System Information
PHP version: | 7.4.15 |
---|---|
Operating system: | linux |
System banner: | Linux linuzo-ryzen9 5.9.16-1-MANJARO #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64 |
Error information
Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: | Access level to cosmicpe\floatingtext\Loader::onEnable() must be public (as in class pocketmine\plugin\PluginBase) |
---|---|
File: | plugins/FloatingText/src/cosmicpe/floatingtext/Loader |
Line: | #25 |
Error level: | E_COMPILE_ERROR |
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use pocketmine\plugin\PluginBase;
use pocketmine\utils\TextFormat;
use pocketmine\world\Position;
final class Loader extends PluginBase{
/** @var Database */
private $database;
protected function onEnable() : void{
$this->database = new Database($this);
FloatingTextHandlerManager::init();
WorldManager::init($this);
}
public function getDatabase() : Database{
return $this->database;
}
protected function onDisable() : void{
Loaded Plugins
-
Show
Server Settings
-
Show
Installed Composer Dependencies
-
Show