menu
#3547390 Cannot use pocketmine\level\Position as Position because the name is already in use

Submitted by PocketMine-MP 3.11.2

General information

Version: 3.11.2
Git commit: a37d7401
Plugin involvement: Direct
Report date: 2020-01-13 19:08:58 +0000 UTC

System Information

PHP version: 7.3.12
Operating system: win
System banner: Windows NT VICTORIO 10.0 build 18363 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot use pocketmine\level\Position as Position because the name is already in use
File: plugins/Spawner/src/Spawner/Main
Line: #14
Error level: E_COMPILE_ERROR
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use pocketmine\plugin\PluginBase;
use pocketmine\event\Listener;
use pocketmine\Server;
use pocketmine\Player;
use pocketmine\block\Block;
use pocketmine\level\Level;
use pocketmine\level\Position;
use pocketmine\entity\Entity;
use pocketmine\item\Item;
use pocketmine\level\Position;
use pocketmine\utils\Config;
use pocketmine\event\block\BlockBreakEvent;
use pocketmine\event\block\BlockPlaceEvent;
use pocketmine\event\entity\EntityInventoryChangeEvent;

use CortexPE\entity\mob\Bat;
use CortexPE\entity\mob\Blaze;
use CortexPE\entity\mob\CaveSpider;
use CortexPE\entity\mob\Chicken;
use CortexPE\entity\mob\Cow;

Loaded Plugins

  • Show

Server Settings

  • Show