EnchantCommand: Fix vanilla translation

This parameter isn't required server side, but it doesn't matter anyway.
This commit is contained in:
Dylan K. Taylor 2017-12-16 10:34:38 +00:00
parent 24387d1efe
commit 9fd7312629

View File

@ -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;
}
}