As soon as php reads $pigfaction->getFactionsManager()
There will be an error on the console. The error:
[19:15:45] [Server thread/CRITICAL]: TypeError: "Return value of DaPigGuy\PiggyFactions\PiggyFactions::getFactionsManager() must be an instance of DaPigGuy\PiggyFactions\factions\FactionsManager, null returned" (EXCEPTION) in "plugins/PiggyFactions/src/DaPigGuy/PiggyFactions/PiggyFactions" at line 179
OS and Versions
PocketMine-MP: 3.14.2
PiggyFactions: 1.1.1
PHP: 7
Server OS: Debian 10
Extra Information
This is a bug, but it is surely not caused by the plugin itself but the way pocketmine works.
I don't know if there is anything you can do about it.
Please make sure your issue complies with these guidelines:
Issue Description
Steps to Reproduce the Issue
$pigfaction->getFactionsManager()
There will be an error on the console. The error:[19:15:45] [Server thread/CRITICAL]: TypeError: "Return value of DaPigGuy\PiggyFactions\PiggyFactions::getFactionsManager() must be an instance of DaPigGuy\PiggyFactions\factions\FactionsManager, null returned" (EXCEPTION) in "plugins/PiggyFactions/src/DaPigGuy/PiggyFactions/PiggyFactions" at line 179
OS and Versions
Extra Information
This is a bug, but it is surely not caused by the plugin itself but the way pocketmine works. I don't know if there is anything you can do about it.