MineCube-MC / knock

The classic and fully customizable minigame fun to play for PocketMine-MP.
MIT License
5 stars 8 forks source link

crash #14

Closed UnknownNull closed 1 year ago

UnknownNull commented 2 years ago

[16:42:48.302] [Server thread/CRITICAL]: TypeError: "ItzLightyHD\KnockbackFFA\event\PlayerKilledEvent::__construct(): Argument #2 ($damager) must be of type pocketmine\player\Player, null given, called in phar://C:/Users/Administrator/Documents/5.Arcade/plugins/KnockbackFFA.phar/src/ItzLightyHD/KnockbackFFA/listeners/DamageListener.php on line 83" (EXCEPTION) in "plugins/KnockbackFFA.phar/src/ItzLightyHD/KnockbackFFA/event/PlayerKilledEvent" at line 16

Kuuuuuuuu commented 2 years ago

Could you try this build https://poggit.pmmp.io/r/192922/KnockbackFFA_pr-41.phar I think it will work perfectly fine

UnknownNull commented 2 years ago

[20:49:22.858] [Server thread/CRITICAL]: TypeError: "Unsupported operand types: string % int" (EXCEPTION) in "plugins/KnockbackFFA_pr-41.phar/src/ItzLightyHD/KnockbackFFA/listeners/DamageListener" at line 60

Kuuuuuuuu commented 2 years ago

[20:49:22.858] [Server thread/CRITICAL]: TypeError: "Unsupported operand types: string % int" (EXCEPTION) in "plugins/KnockbackFFA_pr-41.phar/src/ItzLightyHD/KnockbackFFA/listeners/DamageListener" at line 60

try this one: https://poggit.pmmp.io/r/193570/KnockbackFFA_pr-50.phar