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

Unhandled exception executing command 'ce enchant Missile' in customenchant: Return value of PiggyCustomEnchants\CustomEnchants\CustomEnchants::getId() must be of the type integer, null returned #32

Closed teracube closed 7 years ago

teracube commented 7 years ago

Please make sure your issue complies with these guidelines:

General

critical error repeating Server thread/CRITICAL]: Unhandled exception executing command 'ce enchant Missile' in customenchant: Return value of PiggyCustomEnchants\CustomEnchants\CustomEnchants::getId() must be of the type integer, null returned 2017-08-11 [11:30:47] [Server thread/CRITICAL]: TypeError: "Return value of PiggyCustomEnchants\CustomEnchants\CustomEnchants::getId() must be of the type integer, null returned" (EXCEPTION) in "PiggyCustomEnchants.phar/src/PiggyCustomEnchants/CustomEnchants/CustomEnchants" at line 147

Version of PiggyCustomEnchants:

Dev 74 https://poggit.pmmp.io/r/9951/PiggyCustomEnchants.phar

Thanks

nasiridrishi commented 7 years ago

@DaPigGuy fix this please!