BlockHorizons / BlockSniper

An advanced (brush) world editing plugin for PocketMine-MP
https://poggit.pmmp.io/p/BlockSniper/
Apache License 2.0
76 stars 41 forks source link

Nested permission declarations are no longer supported. #144

Closed ghost closed 1 year ago

ghost commented 3 years ago

Description

Versions

Crashdump and/or console errors

[15:52:25.309] [Server thread/CRITICAL]: InvalidArgumentException: "Nested permission declarations are no longer supported. Declare each permission separately." (EXCEPTION) in "pmsrc/src/permission/PermissionParser" at line 92
[15:52:25.310] [Server thread/CRITICAL]: #0 pmsrc/src/plugin/PluginDescription(175): pocketmine\permission\PermissionParser::loadPermissions(array[1])
[15:52:25.311] [Server thread/CRITICAL]: #1 pmsrc/src/plugin/PluginDescription(96): pocketmine\plugin\PluginDescription->loadMap(array[9])
[15:52:25.311] [Server thread/CRITICAL]: #2 plugins/DevTools-master.phar/src/FolderPluginLoader/FolderPluginLoader(55): pocketmine\plugin\PluginDescription->__construct(string[2864] {.."name": "BlockSniper",.."version": "4.0.0",.."description": "A brush world ed)
[15:52:25.311] [Server thread/CRITICAL]: #3 pmsrc/src/plugin/PluginManager(245): FolderPluginLoader\FolderPluginLoader->getPluginDescription(string[37] /root/4/plugins/BlockSniper-API-4.0.0)
[15:52:25.311] [Server thread/CRITICAL]: #4 plugins/DevTools-master.phar/src/DevTools/DevTools(70): pocketmine\plugin\PluginManager->loadPlugins(string[16] /root/4/plugins/, array[1])
[15:52:25.311] [Server thread/CRITICAL]: #5 pmsrc/src/plugin/PluginBase(144): DevTools\DevTools->onEnable()
[15:52:25.311] [Server thread/CRITICAL]: #6 pmsrc/src/plugin/PluginManager(399): pocketmine\plugin\PluginBase->onEnableStateChange(boolean 1)
[15:52:25.311] [Server thread/CRITICAL]: #7 pmsrc/src/Server(1283): pocketmine\plugin\PluginManager->enablePlugin(object DevTools\DevTools)
[15:52:25.312] [Server thread/CRITICAL]: #8 pmsrc/src/Server(987): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder)
[15:52:25.312] [Server thread/CRITICAL]: #9 pmsrc/src/PocketMine(261): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[8] /root/4/, string[16] /root/4/plugins/)
[15:52:25.312] [Server thread/CRITICAL]: #10 pmsrc/src/PocketMine(285): pocketmine\server()
[15:52:25.312] [Server thread/CRITICAL]: #11 pmsrc(11): require(string[52] phar:///root/4/PocketMine-MP.phar/src/PocketMine.php)
lukeeey commented 3 years ago

I'll have this fixed either today or in the near future, whenever I have time.

ghost commented 3 years ago

I need a lot now. TT

CookieCoolz commented 1 year ago

how to fix issues like these errors? please make a tutorial on how to fix any plugin errors. Thanks

SOF3 commented 1 year ago

please make a tutorial on how to fix any plugin errors

the same way how the plugin was written in the first place.