DaPigGuy / PiggyCustomEnchants

An open source custom enchantment plugin for PocketMine-MP
https://piggydocs.aericio.net/PiggyCustomEnchants.html
Apache License 2.0
103 stars 118 forks source link

Plugin will not load, displays error #141

Closed EpicPinkCreeper closed 6 years ago

EpicPinkCreeper commented 6 years ago

Please make sure your issue complies with these guidelines:

General

will not load plugin, displays an error

Version:

Steps to Reproduce the Issue

  1. run server 2: read error because plugin doesn't load

Extra Information

here is the error message:

[11:24:20] [Server thread/CRITICAL]: ReflectionException: "Class pocketmine\event\entity\ProjectileHitBlockEvent does not exist" (EXCEPTION) in "src/pocketmine/plugin/PluginManager" at line 735 [11:24:20] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginManager(735): ReflectionParameter->getClass() [11:24:20] [Server thread/DEBUG]: #1 PiggyCustomEnchants_dev-214.phar/src/PiggyCustomEnchants/Main(283): pocketmine\plugin\PluginManager->registerEvents(PiggyCustomEnchants\EventListener object, PiggyCustomEnchants\Main object) [11:24:20] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginBase(90): PiggyCustomEnchants\Main->onEnable() [11:24:20] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PharPluginLoader(122): pocketmine\plugin\PluginBase->setEnabled(boolean 1) [11:24:20] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(576): pocketmine\plugin\PharPluginLoader->enablePlugin(PiggyCustomEnchants\Main object) [11:24:20] [Server thread/DEBUG]: #5 src/pocketmine/Server(1968): pocketmine\plugin\PluginManager->enablePlugin(PiggyCustomEnchants\Main object) [11:24:20] [Server thread/DEBUG]: #6 src/pocketmine/Server(1954): pocketmine\Server->enablePlugin(PiggyCustomEnchants\Main object) [11:24:20] [Server thread/DEBUG]: #7 src/pocketmine/Server(1745): pocketmine\Server->enablePlugins(integer 1) [11:24:20] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(305): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\epicp\Downloads\MCPE SERVERS\PocketMine-MP - NEONIC\, string C:\Users\epicp\Downloads\MCPE SERVERS\PocketMine-MP - NEONIC\plugins) [11:24:20] [Server thread/DEBUG]: #9 C:/Users/epicp/Downloads/MCPE SERVERS/PocketMine-MP - NEONIC/PocketMine-MP.phar(1): require(string phar://C:/Users/epicp/Downloads/MCPE SERVERS/PocketMine-MP - NEONIC/PocketMine-MP.phar/src/pocketmine/PocketMine.php) [11:24:20] [Server thread/INFO]: Disabling PiggyCustomEnchants v1.1.2

Aericio commented 6 years ago

Outdated PMMP version: please use the latest build on Jenkins.