Remove useless typecasts

This commit is contained in:
Dylan K. Taylor
2020-02-06 15:58:52 +00:00
parent d26fcf7dee
commit da3742b39e
5 changed files with 7 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ class EffectCommand extends VanillaCommand{
}
if($effect === null){
$sender->sendMessage(new TranslationContainer(TextFormat::RED . "%commands.effect.notFound", [(string) $args[1]]));
$sender->sendMessage(new TranslationContainer(TextFormat::RED . "%commands.effect.notFound", [$args[1]]));
return true;
}