Shock95 / AuctionHouse

Feature-packed auction house plugin for PocketMine-MP (pmmp)
GNU General Public License v3.0
43 stars 34 forks source link

Issue BedrockEconomyAPI #105

Closed NeturCrafter closed 2 years ago

NeturCrafter commented 2 years ago

Error

When I add BedrockEconomyAPI to my server, this error appears.

Error/Crash log

[19:15:35.514] [Server thread/CRITICAL]: TypeError: "Cannot assign cooldogedev\BedrockEconomy\api\version\LegacyBEAPI to property shock95x\auctionhouse\economy\BedrockEconomyProvider::$economy of type ?cooldogedev\BedrockEconomy\api\BedrockEconomyAPI" (EXCEPTION) in "plugins/AuctionHouse.phar/src/shock95x/auctionhouse/economy/BedrockEconomyProvider" at line 14
--- Stack trace ---
  #0 plugins/AuctionHouse.phar/src/shock95x/auctionhouse/AuctionHouse(72): shock95x\auctionhouse\economy\BedrockEconomyProvider->__construct()
  #1 pmsrc/src/plugin/PluginBase(137): shock95x\auctionhouse\AuctionHouse->onEnable()
  #2 pmsrc/src/plugin/PluginManager(437): pocketmine\plugin\PluginBase->onEnableStateChange(true)
  #3 pmsrc/src/Server(1385): pocketmine\plugin\PluginManager->enablePlugin(object shock95x\auctionhouse\AuctionHouse#25132)
  #4 pmsrc/src/Server(1011): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#24901)
  #5 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[22] /home/server/SkyBlock/, string[30] /home/server/SkyBlock/plugins/)
  #6 pmsrc/src/PocketMine(327): pocketmine\server()
  #7 pmsrc(11): require(string[66] phar:///home/server/SkyBlock/PocketMine-MP.phar/src/PocketMine.php)
--- End of exception information ---
[19:15:35.515] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[19:15:35.521] [Server thread/EMERGENCY]: Please upload the "/home/server/SkyBlock/crashdumps/Wed_Mar_23-19.15.35-UTC_2022.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[19:15:35.744] [Server thread/EMERGENCY]: The crash dump has been automatically submitted to the Crash Archive. You can view it on https://crash.pmmp.io/view/6258669 or use the ID #6258669.
[19:15:35.744] [Server thread/EMERGENCY]: Forcing server shutdown
Shock95 commented 2 years ago

Fixed in 2.0.1