mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Fixed some inspections
This commit is contained in:
@ -46,11 +46,6 @@ abstract class Command{
|
||||
/** @var string */
|
||||
private $label;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $aliases = [];
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
|
@ -75,7 +75,6 @@ class EffectCommand extends VanillaCommand{
|
||||
return true;
|
||||
}
|
||||
|
||||
$duration = 300;
|
||||
$amplification = 0;
|
||||
|
||||
if(count($args) >= 3){
|
||||
|
@ -23,8 +23,6 @@ namespace pocketmine\command\defaults;
|
||||
|
||||
use pocketmine\command\CommandSender;
|
||||
use pocketmine\event\TranslationContainer;
|
||||
use pocketmine\plugin\Plugin;
|
||||
use pocketmine\utils\TextFormat;
|
||||
|
||||
class TitleCommand extends VanillaCommand{
|
||||
|
||||
@ -98,5 +96,7 @@ class TitleCommand extends VanillaCommand{
|
||||
}
|
||||
|
||||
$sender->sendMessage(new TranslationContainer("commands.title.success"));
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user