Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in pocketmine pm5 5.1.2 #2

Open
NdaruAjaa opened this issue Jun 15, 2023 · 0 comments
Open

Crash in pocketmine pm5 5.1.2 #2

NdaruAjaa opened this issue Jun 15, 2023 · 0 comments

Comments

@NdaruAjaa
Copy link

PocketMine-MP version: 5.1.2 [Protocol 589]
Git commit: 7cd317bf398a017f7c690a475c5a67650c610323
PHP version: 8.1.19
OS: Linux, linux

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: HomesManager

Error: Class SenseiTarzan\HomesManager\Commands\HomeCommand contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SenseiTarzan\HomesManager\libs\CortexPE\Commando\IRunnable::getPermission)
File: plugins/HomesManager_dev-22.phar/src/SenseiTarzan/HomesManager/Commands/HomeCommand
Line: 20
Type: E_ERROR
Backtrace:

Code:
[11] use SenseiTarzan\HomesManager\Commands\subCommands\removeHomeSubCommand;
[12] use SenseiTarzan\HomesManager\Commands\subCommands\replaceHomeSubCommand;
[13] use SenseiTarzan\HomesManager\Commands\subCommands\setHomeSubCommand;
[14] use SenseiTarzan\HomesManager\Component\HomeManager;
[15] use SenseiTarzan\HomesManager\Component\HomePlayerManager;
[16] use SenseiTarzan\HomesManager\Task\HomeCooldown;
[17] use SenseiTarzan\HomesManager\Utils\CustomKnownTranslationFactory;
[18] use SenseiTarzan\HomesManager\libs\SenseiTarzan\LanguageSystem\Component\LanguageManager;
[19]
[20] class HomeCommand extends BaseCommand
[21] {
[22]
[23] protected function prepare(): void
[24] {
[25] $this->setPermission("home.command.permissions");
[26] $this->addConstraint(new InGameRequiredConstraint($this));
[27] $this->registerSubCommand(new AdminSubCommand($this->plugin, "admin"));
[28] $this->registerSubCommand(new setHomeSubCommand($this->plugin,"set", aliases: ["add"]));
[29] $this->registerSubCommand(new replaceHomeSubCommand($this->plugin, "replace"));
[30] $this->registerSubCommand(new removeHomeSubCommand($this->plugin, "remove", aliases: ["rm", "del", "delete"]));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant