menu
#4583530 Cannot declare class BlockGame\main, because the name is already in use

Submitted by PocketMine-MP 3.15.2

General information

Version: 3.15.2
Git commit: d7a66ad7
Plugin involvement: Direct
Report date: 2020-10-18 03:29:38 +0000 UTC

System Information

PHP version: 7.3.23
Operating system: win
System banner: Windows NT DELL-5577 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 declare class BlockGame\main, because the name is already in use
File: plugins/BlockGame/src/Main
Line: #12
Error level: E_COMPILE_ERROR
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace BlockGame;

use pocketmine\Server;
use pocketmine\Player;
use pocketmine\plugin\PluginBase;
use pocketmine\command\Command;
use pocketmine\command\CommandSender;
use pocketmine\event\Listener;

class main extends PluginBase implements Listener {
public function onEnable(){
$this->getLogger()->info(TextFormat::GREEN."§1C§2o§3l§4o§5r§6M§9a§at§bc§ch §de§en§1a§2b§3l§4e§5d");
}

public function onDisable(){
$this->getLogger()->info("BlockGame plugin disabled!");
}
}

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies