Closed starterdragon closed 7 years ago
this only occurs on server startup, btw. Ummm /reload doesn't trigger the error.
[07:50:18] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerExperienceChangeEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 195 on PiggyAuth\EventListener [07:50:18] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 195" (EXCEPTION) in "/PiggyAuth.phar/src/PiggyAuth/Main" at line 148
Fixed.
[05:01:26] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 195" (EXCEPTION) in "/PiggyAuth.phar/src/PiggyAuth/Main" at line 148 [05:01:26] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerExperienceChangeEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 195 on PiggyAuth\EventListener