mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
EffectCommand: Remove internal ID from translated message
This commit is contained in:
parent
64948f38d0
commit
3632e07cdb
@ -1 +1 @@
|
||||
Subproject commit 64844b7b6b94a866367831f998281801a86f07a1
|
||||
Subproject commit 8718542e622014fa81e6c178a3c83202c86ef921
|
@ -120,7 +120,7 @@ class EffectCommand extends VanillaCommand{
|
||||
}else{
|
||||
$instance = new EffectInstance($effect, $duration, $amplification, $visible);
|
||||
$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]));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user