poggit-orphanage / WorldProtect

Griefer protection plugin
GNU General Public License v2.0
11 stars 20 forks source link

Server Crashed after /wp add {Player} || Crashdump #23

Closed ghost closed 2 years ago

ghost commented 2 years ago

[19:45:38.655] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\Server::getPlayer()" (EXCEPTION) in "plugins/WorldProtect_dev-39.phar/src/aliuly/worldprotect/WpProtectMgr" at line 76

--- Stack trace ---

0 plugins/WorldProtect_dev-39.phar/src/aliuly/worldprotect/common/SubCommandMap(48): aliuly\worldprotect\WpProtectMgr->onSCommand(object ipad54\netherblocks\player\Player#98672, object pocketmine\command\PluginCommand#23889, string[3] add, string[19] Dragon's Apocalypse, array[1])

1 plugins/WorldProtect_dev-39.phar/src/aliuly/worldprotect/common/BasicPlugin(123): aliuly\worldprotect\common\SubCommandMap

SOF3 commented 2 years ago

@supercrafter333 ^

supercrafter333 commented 2 years ago

Hmmm.... I've forgot this 😂

supercrafter333 commented 2 years ago

Fixed (#24)