Skip to content

Commit

Permalink
????
Browse files Browse the repository at this point in the history
  • Loading branch information
DuoIncure committed Jul 31, 2023
1 parent 0cc4d7e commit f36c12c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ public function __construct(SkyBlocksPM $plugin){

public function prepare(): void {
$this->setPermission('skyblockspm.command');
$this->registerSubCommand(new AcceptSubCommand($this->plugin, 'accept', 'Accept the incoming invite to a SkyBlock Island'));
$this->registerSubCommand(new ChatSubCommand($this->plugin, 'chat', 'Chat with your SkyBlock Island members'));
$this->registerSubCommand(new CreateSubCommand($this->plugin, 'create', 'Create your own SkyBlock Island'));
$this->registerSubCommand(new DeleteSubCommand($this->plugin, 'delete', 'Delete a users SkyBlock Island', ['disband']));
$this->registerSubCommand(new KickSubCommand($this->plugin, 'kick', 'Kick a member from your SkyBlock Island'));
$this->registerSubCommand(new LeaveSubCommand($this->plugin, 'leave', 'Leave your current SkyBlock Island'));
$this->registerSubCommand(new SettingsSubCommand($this->plugin, 'settings', 'Edit your SkyBlock Island settings'));
$this->registerSubCommand(new SetWorldCommand($this->plugin, 'setworld', 'Sets the current world as the SkyBlock World which will be copied to newer worlds upon Island creation'));
$this->registerSubCommand(new TpSubCommand($this->plugin, 'tp', 'Teleport to a users SkyBlock Island', ['go', 'home']));
$this->registerSubCommand(new InviteSubCommand($this->plugin, 'invite', 'Invites the player to your SkyBlock Island'));
$this->registerSubCommand(new VisitSubCommand($this->plugin, 'visit', 'Visit a players SkyBlock Island'));
$this->registerSubCommand(new AcceptSubCommand($this->getOwningPlugin(), 'accept', 'Accept the incoming invite to a SkyBlock Island'));

Check failure on line 31 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\AcceptSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new ChatSubCommand($this->getOwningPlugin(), 'chat', 'Chat with your SkyBlock Island members'));

Check failure on line 32 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\ChatSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new CreateSubCommand($this->getOwningPlugin(), 'create', 'Create your own SkyBlock Island'));

Check failure on line 33 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\CreateSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new DeleteSubCommand($this->getOwningPlugin(), 'delete', 'Delete a users SkyBlock Island', ['disband']));

Check failure on line 34 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\DeleteSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new KickSubCommand($this->getOwningPlugin(), 'kick', 'Kick a member from your SkyBlock Island'));

Check failure on line 35 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\KickSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new LeaveSubCommand($this->getOwningPlugin(), 'leave', 'Leave your current SkyBlock Island'));

Check failure on line 36 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\LeaveSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new SettingsSubCommand($this->getOwningPlugin(), 'settings', 'Edit your SkyBlock Island settings'));

Check failure on line 37 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\SettingsSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new SetWorldCommand($this->getOwningPlugin(), 'setworld', 'Sets the current world as the SkyBlock World which will be copied to newer worlds upon Island creation'));

Check failure on line 38 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\SetWorldCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new TpSubCommand($this->getOwningPlugin(), 'tp', 'Teleport to a users SkyBlock Island', ['go', 'home']));

Check failure on line 39 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\TpSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new InviteSubCommand($this->getOwningPlugin(), 'invite', 'Invites the player to your SkyBlock Island'));

Check failure on line 40 in src/Vecnavium/SkyBlocksPM/commands/SkyBlockCommand.php

View workflow job for this annotation

GitHub Actions / PHPStan analysis (8.1)

Parameter #1 $plugin of class Vecnavium\SkyBlocksPM\commands\subcommands\InviteSubCommand constructor expects pocketmine\plugin\PluginBase, pocketmine\plugin\Plugin given.
$this->registerSubCommand(new VisitSubCommand($this->getOwningPlugin(), 'visit', 'Visit a players SkyBlock Island'));
}

/**
Expand Down

0 comments on commit f36c12c

Please sign in to comment.