mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
EnchantCommand: Fix vanilla translation
This parameter isn't required server side, but it doesn't matter anyway.
This commit is contained in:
parent
24387d1efe
commit
9fd7312629
@ -80,7 +80,7 @@ class EnchantCommand extends VanillaCommand{
|
||||
$player->getInventory()->setItemInHand($item);
|
||||
|
||||
|
||||
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.enchant.success"));
|
||||
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.enchant.success", [$player->getName()]));
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user