mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Fixed some inspections
This commit is contained in:
@@ -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