mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 16:29:40 +00:00
EffectCommand: Remove support for internal MCPE effect IDs
This commit is contained in:
parent
3632e07cdb
commit
e22986f065
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user