Starting work on skill help pages. (Excavation)

This commit is contained in:
GJ
2012-03-03 01:22:32 -05:00
parent d3ed6bb139
commit 1814d52680
11 changed files with 52 additions and 12 deletions

View File

@ -14,7 +14,8 @@ import com.gmail.nossr50.locale.mcLocale;
public class AcrobaticsCommand implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (!(sender instanceof Player)) {
if (!(sender instanceof Player))
{
sender.sendMessage("This command does not support console useage.");
return true;
}
@ -46,7 +47,6 @@ public class AcrobaticsCommand implements CommandExecutor {
player.sendMessage(mcLocale.getString("m.AcrobaticsRollChance", new Object[] { percentage }));
player.sendMessage(mcLocale.getString("m.AcrobaticsGracefulRollChance", new Object[] { gracepercentage }));
player.sendMessage(mcLocale.getString("m.AcrobaticsDodgeChance", new Object[] { dodgepercentage }));
return true;
}
}