menu
#3980430 Cannot declare class ExamplePlugin\MainClass, because the name is already in use

Submitted by PocketMine-MP 3.11.0

General information

Version: 3.11.0
Git commit: a386ff8c
Plugin involvement: Direct
Report date: 2020-03-25 18:28:04 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: win
System banner: Windows NT MEHR 6.3 build 9600 (Windows 8.1 Enterprise Edition) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot declare class ExamplePlugin\MainClass, because the name is already in use
File: plugins/KitPVP/src/kitpvp/Main
Line: #38
Error level: E_COMPILE_ERROR
29
30
31
32
33
34
35
36
37
38
		switch($command->getName()){
case "example":
$sender->sendMessage("Hello " . $sender->getName() . "!");

return true;
default:
return false;
}
}
}

Loaded Plugins

  • Show

Server Settings

  • Show