mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
EffectCommand: Remove support for internal MCPE effect IDs
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user