Lambo submitted a new plugin: CombatLogger - Stop players from logging out during combat Read more about this plugin...
Fix the bug where you can't log out after hitting a mob. You also get this error when hitting mobs: 19:30:33 [NOTICE] InvalidArgumentException: "Argument 1 passed to Lambo\CombatLogger\Main::setTime() must be an instance of pocketmine\Player, instance of pocketmine\entity\Zombie given, called in phar:///home/tcagame/pigcraft/497/plugins/CombatLogger_v1.0.0.phar/src/Lambo/CombatLogger/Main.php on line 45 and defined" (E_RECOVERABLE_ERROR) in "/CombatLogger_v1.0.0.phar/src/Lambo/CombatLogger/Main" at line 51
i was about to release my own version before seeing this. well i dont have to do that anymore. One suggestion though, you should also make checks if the player is kicked or not.
for example, the player is pvp'ng but he got kicked because of connection timeout and etc, he will be counted as CombatLogging in the PlayerDeathEvent.
Lambo updated CombatLogger with a new update entry: Fixed another bug Read the rest of this update entry...
Lambo updated CombatLogger with a new update entry: Fixed config Read the rest of this update entry...