inxomnyaa / MagicWE

Lag free asynchronous world editor for PMMP with plenty of options
https://poggit.pmmp.io/ci/inxomnyaa/MagicWE
GNU General Public License v3.0
101 stars 83 forks source link

Problem with //debug - enchantments api #31

Closed ghost closed 6 years ago

ghost commented 6 years ago

[[MagicWE] ] Argument 1 passed to pocketmine\item\Item::addEnchantment() must be an instance of pocketmine\item\enchantment\EnchantmentInstance, instance of pocketmine\item\enchantment\Enchantment given, called in F:\PocketMine 19133\plugins\MagicWE2-master\src\xenialdan\MagicWE2\commands\DebugCommand.php on line 37

I think this is because of enchant changes in pocketmine recently.

dktapps commented 6 years ago

in reply to OP: don't use bleeding-edge builds ¯\(ツ)\

ghost commented 6 years ago

Thanks, fixed with the latest update.

inxomnyaa commented 6 years ago

Thx. Forgot to close