menu
#3071325 Cannot declare class EinBWschwitzer\AnimeKitsAddon\Main, because the name is already in use

Submitted by PocketMine-MP 3.9.6+dev.1777

General information

Version: 3.9.6+dev.1777
Git commit: 247875e3
Plugin involvement: Direct
Report date: 2019-11-06 18:48:13 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: win
System banner: Windows NT DESKTOP-Q0H09QF 10.0 build 17134 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot declare class EinBWschwitzer\AnimeKitsAddon\Main, because the name is already in use
File: plugins/AnimeKitsAddon/src/EinBWschwitzer/KITUI/Main
Line: #21
Error level: E_COMPILE_ERROR
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use pocketmine\Server;
use pocketmine\Player;

use pocketmine\item\Item;

use pocketmine\event\Listener;

use pocketmine\utils\TextFormat;

class Main extends PluginBase implements Listener{

public function onEnable(){
$this->getServer()->getPluginManager()->registerEvents($this, $this);
}

public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool{
switch($command->getName()){
case "kits":
if($sender instanceof Player){
$this->openMyForm($sender);

Loaded Plugins

  • Show

Server Settings

  • Show