Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PiggyCE Crashes on Startup #159

Closed
teracube opened this issue May 12, 2018 · 2 comments

Comments

Projects
None yet
4 participants
@teracube
Copy link

commented May 12, 2018

Please make sure your issue complies with these guidelines:

    • Server Software must be the official PMMP w/o vanilla patching plugins (i.e. TeaSpoon)
    • [X ] Issue must have not been reported previously
    • Make sure you are on the latest version of PMMP & PiggyCustomEnchants
    • Have a detailed title, like "CustomEnchants::getName() must be..."
    • If possible, provide crashdumps/errors related to the issue.

General

Server could not load PiggyCustomEnchants plugin

Version:

<PiggyCustomEnchants_dev-222.phar>

  • PiggyCustomEnchants:
  • PMMP:
    This server is running PocketMine-MP version 1.7dev-993 "[REDACTED]" (API 3.0.0-ALPHA12)

Steps to Reproduce the Issue

1.install latest PMMP build and latest PiggyCustomEnchants plugin
start the server

Extra Information

2018-05-12 [17:20:45] [Server thread/INFO]: Enabling PiggyCustomEnchants v1.1.3
2018-05-12 [17:20:45] [Server thread/CRITICAL]: ArgumentCountError: "Too few arguments to function pocketmine\item\enchantment\Enchantment::__construct(), 5 passed in phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/PiggyCustomEnchants_dev-222.phar/src/PiggyCustomEnchants/Main.php on line 437 and exactly 6 expected" (EXCEPTION) in "src/pocketmine/item/enchantment/Enchantment" at line 170
2018-05-12 [17:20:45] [Server thread/DEBUG]: #0 PiggyCustomEnchants_dev-222.phar/src/PiggyCustomEnchants/Main(437): pocketmine\item\enchantment\Enchantment->__construct(integer 417, string Anti Knockback, integer 2, integer 15, integer 1)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #1 PiggyCustomEnchants_dev-222.phar/src/PiggyCustomEnchants/Main(312): PiggyCustomEnchants\Main->translateDataToCE(integer 417, array Array())
2018-05-12 [17:20:45] [Server thread/DEBUG]: #2 PiggyCustomEnchants_dev-222.phar/src/PiggyCustomEnchants/Main(242): PiggyCustomEnchants\Main->initCustomEnchants()
2018-05-12 [17:20:45] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginBase(90): PiggyCustomEnchants\Main->onEnable()
2018-05-12 [17:20:45] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PharPluginLoader(127): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(577): pocketmine\plugin\PharPluginLoader->enablePlugin(PiggyCustomEnchants\Main object)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #6 src/pocketmine/Server(1930): pocketmine\plugin\PluginManager->enablePlugin(PiggyCustomEnchants\Main object)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #7 src/pocketmine/Server(1916): pocketmine\Server->enablePlugin(PiggyCustomEnchants\Main object)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #8 src/pocketmine/Server(1710): pocketmine\Server->enablePlugins(integer 1)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #9 src/pocketmine/PocketMine(304): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
2018-05-12 [17:20:45] [Server thread/DEBUG]: #10 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
2018-05-12 [17:20:45] [Server thread/INFO]: Disabling PiggyCustomEnchants v1.1.3
@Aericio

This comment has been minimized.

Copy link
Collaborator

commented May 13, 2018

Plugin crashes on startup. Please fix @DaPigGuy.

@Aericio Aericio changed the title ArgumentCountError: "Too few arguments to function pocketmine\item\enchantment\Enchantment::__construct() PiggyCE Crashes on Startup May 13, 2018

@SalmonDE

This comment has been minimized.

Copy link

commented May 13, 2018

@DaPigGuy DaPigGuy closed this in bdd6a9e May 13, 2018

@DaPigGuy DaPigGuy added the fixed/done label May 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.