TheAz928/VanillaEnchantments

Call to undefined method

Closed this issue · 0 comments

[00:20:50] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerMoveEvent' to 'VanillaEnchantments v3.0.0_ALPHA10': Call to undefined method pocketmine\inventory\PlayerInventory::getArmorContents() on VanillaEnchantments\handlers\DepthStrider
[00:20:50] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\inventory\PlayerInventory::getArmorContents()" (EXCEPTION) in "VanillaEnchantments-master/src/VanillaEnchantments/handlers/VanillaEnchant" at line 59

Pocketmine-MP Version : 1.7dev-672 API 3.0.0-ALPHA10 (minercraft: PE 1.2.7)

How to do the issue :

  1. Download the master of VanillaEnchantments
    2.Drop the files on plugins
    3.Reload / Restart the server
  2. Move
    You get like 100 errors per seconds...
    (you do not have the enchantments)
    Thank you for correcting this issue