mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
EffectCommand: Remove internal ID from translated message
This commit is contained in:
Submodule resources/locale updated: 64844b7b6b...8718542e62
@ -120,7 +120,7 @@ class EffectCommand extends VanillaCommand{
|
|||||||
}else{
|
}else{
|
||||||
$instance = new EffectInstance($effect, $duration, $amplification, $visible);
|
$instance = new EffectInstance($effect, $duration, $amplification, $visible);
|
||||||
$effectManager->add($instance);
|
$effectManager->add($instance);
|
||||||
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.effect.success", [$effect->getName(), $instance->getAmplifier(), $player->getDisplayName(), $instance->getDuration() / 20, $effect->getId()]));
|
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.effect.success", [$effect->getName(), $instance->getAmplifier(), $player->getDisplayName(), $instance->getDuration() / 20]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user