EffectCommand: Remove support for internal MCPE effect IDs

This commit is contained in:
Dylan K. Taylor 2019-07-18 19:30:20 +01:00
parent 3632e07cdb
commit e22986f065

View File

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