menu
#4531264 Cannot use pocketmine\item\Item as Item because the name is already in use

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-16 04:23:55 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux df173f026d96 4.15.0-106-generic #107-Ubuntu SMP Thu Jun 4 11:27:52 UTC 2020 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot use pocketmine\item\Item as Item because the name is already in use
File: plugins/Kit_Santimex_v0.1.phar/src/Yo/Santi
Line: #19
Error level: E_COMPILE_ERROR
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use pocketmine\plugin\PluginBase;
use pocketmine\Server;
use pocketmine\item\enchantment\Enchantment;
use pocketmine\item\enchantment\EnchantmentInstance;
use pocketmine\Player;
use pocketmine\entity\Effect;
use pocketmine\item\Item;
use pocketmine\level\sound\{GhastShootSound, AnvilFallSound, EndermanTeleportSound, FizzSound, PopSound, DoorBumSound, AnvilBreakSound, LaunchSound, GenericSound, BlazeShootSound, AnvilUseSound, ClickSound};
use pocketmine\event\player\{PlayerDeathEvent, PlayerDropItemEvent, PlayerExhaustEvent, PlayerInteractEvent, PlayerJoinEvent, PlayerRespawnEvent, PlayerMoveEvent, PlayerQuitEvent, PlayerChatEvent};
use pocketmine\item\Item;
use pocketmine\item\ItemIds;
use pocketmine\item\ItemFactory;

class Santi extends PluginBase implements Listener {

public function onEnable() {
$this->getServer()->getPluginManager()->registerEvents($this, $this);
$this->getLogger()->info("┬žaKITS BY: SANTI AYUDA DE JACRY ACTIVADO");
}

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies