menu
#2387771 Cannot declare class BedWars\Loader, because the name is already in use

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-05-15 21:27:41 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT DESKTOP-OR313BA 10.0 build 17763 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot declare class BedWars\Loader, because the name is already in use
File: plugins/SkyWars/src/SkyWars/Loader
Line: #16
Error level: E_COMPILE_ERROR
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use pocketmine\command\{CommandSender, Command, ConsoleCommandSender};
use pocketmine\{Player, Server};
use pocketmine\utils\Config;
use pocketmine\level\Level;
use pocketmine\level\Position;
use pocketmine\math\Vector3;

use SkyWars\ArenaYedekle;

class Loader extends PluginBase implements Listener{

public $arenalar;
public $yer = "";
public $kurulum;

public function onEnable(): void{
$this->getLogger()->info("SkyWars aktif edildi");
$this->getServer()->getPluginManager()->registerEvents($this, $this);
@mkdir($this->getDataFolder());
$config = new Config($this->getDataFolder()."config.yml", Config::YAML);

Loaded Plugins

  • Show

Server Settings

  • Show