Bug on open the /bedwars command
ocketMine-MP Crash Dump Sun Mar 31 03:36:19 UTC 2024
PocketMine-MP version: 5.12.1+dev [Protocol 662] Git commit: a00fc74218b127853b4a6ca433a6c5bdd957fc85-dirty PHP version: 8.2.13 OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: BedwarsPM
Thread: Main Error: Cannot make non static method pocketmine\entity\Entity::getNetworkTypeId() static in class sergittos\bedwars\game\entity\shop\Villager File: plugins/BedWars-master/src/sergittos/bedwars/game/entity/shop/Villager Line: 26 Type: E_COMPILE_ERROR Backtrace:
Code: [17] use pocketmine\network\mcpe\protocol\types\entity\EntityIds; [18] use pocketmine\player\Player; [19] use sergittos\bedwars\session\Session; [20] use sergittos\bedwars\session\SessionFactory; [21] use sergittos\bedwars\utils\ColorUtils; [22] use function strtoupper; [23] [24] abstract class Villager extends Entity { [25] [26] public static function getNetworkTypeId(): string { [27] return EntityIds::VILLAGER; [28] } [29] [30] protected function getInitialSizeInfo(): EntitySizeInfo { [31] return new EntitySizeInfo(1.8, 0.6); [32] } [33] [34] protected function getInitialGravity(): float { [35] return 0.08; [36] }
Please provide a backtrace of the bug.