#4775038 Cannot use pocketmine\utils\TextFormat as TF because the name is already in use
Submitted by PocketMine-MP 3.17.5
General information
Version: | 3.17.5 |
---|---|
Git commit: | 3a0c8dd5 |
Plugin involvement: | Direct |
Report date: | 2021-02-23 02:47:52 +0000 UTC |
Server uptime: | 0 days 0 hours 0 minutes 0 seconds |
System Information
PHP version: | 7.4.14 |
---|---|
Operating system: | win |
System banner: | Windows NT JACOBSPC 10.0 build 19041 (Windows 10) AMD64 |
Error information
Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: | Cannot use pocketmine\utils\TextFormat as TF because the name is already in use |
---|---|
File: | plugins/HelpMenu/src/xJustJqy/HelpMenu/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\Player;
use pocketmine\Server;
use pocketmine\utils\TextFormat as TF;
use xJustJqy\DiminishPvP_S2_Core\CustomEnchants\libs\muqsit\invmenu\{InvMenu, InvMenuHandler};
use pocketmine\item\Item;
use pocketmine\level\Position;
use pocketmine\scheduler\ClosureTask;
use pocketmine\utils\TextFormat as TF;
use pocketmine\event\player\PlayerCommandPreProcessEvent;
class Main extends PluginBase{
public function onEnable() {
if(!InvMenuHandler::isRegistered()) {
InvMenuHandler::register($this);
}
}
Loaded Plugins
-
Show
Server Settings
-
Show
Installed Composer Dependencies
-
Show