menu
#3971066 Cannot use tatchan\kabu\Form\Form as Form because the name is already in use

Submitted by PocketMine-MP 3.11.6+dev

General information

Version: 3.11.6+dev
Git commit: 8ac7f7f1
Plugin involvement: Direct
Report date: 2020-03-23 12:21:47 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: win
System banner: Windows NT TATCHAN 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 use tatchan\kabu\Form\Form as Form because the name is already in use
File: plugins/kabu/src/tatchan/kabu/Main
Line: #15
Error level: E_COMPILE_ERROR
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

use pocketmine\plugin\PluginBase;
use pocketmine\command\CommandSender;
use pocketmine\command\Command;
use pocketmine\event\Listener;
use pocketmine\form\Form;
use pocketmine\utils\Config;
use onebone\economyapi\EconomyAPI;
use pocketmine\Server;
use tatchan\kabu\Form\Form;


class main extends PluginBase implements Listener{
private static $instance;
public function onEnable() : void{
$this->getLogger()->info("株システムを起動しました");
$this->getServer()->getPluginmanager()->registerEvents( $this, $this );
date_default_timezone_set( "Asia/Tokyo" );
$this->kaisya = new Config($this->getDataFolder() . "kaisya.yml", Config::YAML);
}

Loaded Plugins

  • Show

Server Settings

  • Show