Xenophilicy / MaxEnchants

PocketMine plugin to enable enchants up to level 32k!
https://poggit.pmmp.io/p/MaxEnchants
GNU General Public License v3.0
6 stars 12 forks source link

(EXCEPTION) in "src/pocketmine/item/enchantment/Enchantment" at line 154 #5

Closed alexonbalangue closed 4 years ago

alexonbalangue commented 4 years ago

2020-04-08 [05:32:39] [Server thread/CRITICAL]: Error: "Call to a member function getSize() on array" (EXCEPTION) in "src/pocketmine/item/enchantment/Enchantment" at line 154 2020-04-08 [05:32:39] [Server thread/DEBUG]: #0 plugins/MaxEnchants.phar/src/Xenophilicy/MaxEnchants/MaxEnchants(113): pocketmine\item\enchantment\Enchantment::getEnchantment(integer 0) 2020-04-08 [05:32:39] [Server thread/DEBUG]: #1 plugins/MaxEnchants.phar/src/Xenophilicy/MaxEnchants/MaxEnchants(51): Xenophilicy\MaxEnchants\MaxEnchants->buildVanillaEnchantArray() 2020-04-08 [05:32:39] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginBase(115): Xenophilicy\MaxEnchants\MaxEnchants->onEnable() 2020-04-08 [05:32:39] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(541): pocketmine\plugin\PluginBase->setEnabled(boolean 1) 2020-04-08 [05:32:39] [Server thread/DEBUG]: #4 src/pocketmine/Server(1783): pocketmine\plugin\PluginManager->enablePlugin(object Xenophilicy\MaxEnchants\MaxEnchants) 2020-04-08 [05:32:39] [Server thread/DEBUG]: #5 src/pocketmine/Server(1769): pocketmine\Server->enablePlugin(object Xenophilicy\MaxEnchants\MaxEnchants) 2020-04-08 [05:32:39] [Server thread/DEBUG]: #6 src/pocketmine/Server(1582): pocketmine\Server->enablePlugins(integer 1) 2020-04-08 [05:32:39] [Server thread/DEBUG]: #7 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] C:\bedrock-server\, string[26] C:\bedrock-server\plugins) 2020-04-08 [05:32:39] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(296): pocketmine\server() 2020-04-08 [05:32:39] [Server thread/DEBUG]: #9 (11): require(string[73] phar://C:/bedrock-server/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Xenophilicy commented 4 years ago

Can you give me steps to reproduce this issue? I don't know how you got this error since the default configuration works just fine.

Xenophilicy commented 4 years ago

@alexonbalangue Hello again, I need confirmation on how to reproduce this issue as I cannot get the error to appear with the latest release from Poggit. Please send instructional steps on how you got this error.

Xenophilicy commented 4 years ago

Closed due to inability to respond to reproduction steps request.