mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Localize XpLock command.
This commit is contained in:
parent
1a888d3116
commit
2e751b1438
@ -1,6 +1,5 @@
|
||||
package com.gmail.nossr50.commands.spout;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
@ -22,7 +21,7 @@ import com.gmail.nossr50.util.Users;
|
||||
public class XplockCommand implements CommandExecutor {
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||
String usage = ChatColor.RED + "Proper usage is /xplock [skill]";
|
||||
String usage = LocaleLoader.getString("Commands.Usage.1", new Object[] {"xplock", "[skill]"});
|
||||
|
||||
if (CommandHelper.noConsoleUsage(sender)) {
|
||||
return true;
|
||||
|
@ -440,6 +440,7 @@ Commands.SkillInfo=/<skill> [[RED]]- View detailed information about a skill
|
||||
Commands.Stats.Self=YOUR STATS
|
||||
Commands.Stats=[[RED]]- View your mcMMO stats
|
||||
Commands.ToggleAbility=[[RED]]- Toggle ability activation with right click
|
||||
Commands.Usage.1=[[RED]]Proper usage is /{0} {1}
|
||||
mcMMO.NoInvites=[[RED]]You have no invites at this time
|
||||
mcMMO.NoPermission=[[DARK_RED]]Insufficient permissions.
|
||||
mcMMO.NoSkillNote=[[DARK_GRAY]]If you don't have access to a skill it will not be shown here.
|
||||
|
Loading…
Reference in New Issue
Block a user