From 5225fb22f8817e99a41a9201be3970d9821901fb Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sun, 3 Feb 2013 04:14:23 +0000 Subject: [PATCH] Minor comment updates. --- .../src/com/earth2me/essentials/commands/Commandmail.java | 2 +- .../src/com/earth2me/essentials/commands/Commandpay.java | 2 +- .../src/com/earth2me/essentials/commands/Commandtp.java | 4 ++-- .../src/com/earth2me/essentials/commands/Commandtppos.java | 4 ++-- Essentials/src/com/earth2me/essentials/signs/SignBuy.java | 2 +- Essentials/src/config.yml | 2 +- Essentials/src/plugin.yml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmail.java b/Essentials/src/com/earth2me/essentials/commands/Commandmail.java index a45fb1106..e6c4cd8ab 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmail.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmail.java @@ -18,7 +18,7 @@ public class Commandmail extends EssentialsCommand super("mail"); } - //TODO: Tidy this up + //TODO: Tidy this up / TL these errors. @Override public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandpay.java b/Essentials/src/com/earth2me/essentials/commands/Commandpay.java index 5ce131281..994ce8e63 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandpay.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandpay.java @@ -22,7 +22,7 @@ public class Commandpay extends EssentialsCommand throw new NotEnoughArgumentsException(); } - //TODO: TL this + //TODO: TL this. if (args[0].trim().length() < 2) { throw new NotEnoughArgumentsException("You need to specify a player to pay."); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtp.java b/Essentials/src/com/earth2me/essentials/commands/Commandtp.java index 59dbc1a3e..7eae137a3 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtp.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtp.java @@ -52,7 +52,7 @@ public class Commandtp extends EssentialsCommand final double z = args[3].startsWith("~") ? target2.getLocation().getZ() + Integer.parseInt(args[3].substring(1)) : Integer.parseInt(args[3]); if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < -30000000 || z < -30000000) { - throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //todo: I18n + throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //TODO: I18n } final Location location = new Location(target2.getWorld(), x, y, z); if (!target2.isTeleportEnabled()) @@ -113,7 +113,7 @@ public class Commandtp extends EssentialsCommand final double z = args[3].startsWith("~") ? target.getLocation().getZ() + Integer.parseInt(args[3].substring(1)) : Integer.parseInt(args[3]); if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < -30000000 || z < -30000000) { - throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //todo: I18n + throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //TODO: I18n } final Location location = new Location(target.getWorld(), x, y, z); target.getTeleport().now(location, false, TeleportCause.COMMAND); diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java index c9253c99b..c03a8b435 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtppos.java @@ -38,7 +38,7 @@ public class Commandtppos extends EssentialsCommand } if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < -30000000 || z < -30000000) { - throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //todo: I18n + throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //TODO: I18n } final Trade charge = new Trade(this.getName(), ess); charge.isAffordableFor(user); @@ -70,7 +70,7 @@ public class Commandtppos extends EssentialsCommand } if (x > 30000000 || y > 30000000 || z > 30000000 || x < -30000000 || y < -30000000 || z < -30000000) { - throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //todo: I18n + throw new NotEnoughArgumentsException("Value of coordinates cannot be over 30000000"); //TODO: I18n } sender.sendMessage(_("teleporting")); user.sendMessage(_("teleporting")); diff --git a/Essentials/src/com/earth2me/essentials/signs/SignBuy.java b/Essentials/src/com/earth2me/essentials/signs/SignBuy.java index aa4e41426..d675a598c 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignBuy.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignBuy.java @@ -29,7 +29,7 @@ public class SignBuy extends EssentialsSign charge.isAffordableFor(player); if (!items.pay(player, false)) { - throw new ChargeException("Inventory full"); + throw new ChargeException("Inventory full"); //TODO: TL } charge.charge(player); Trade.log("Sign", "Buy", "Interact", username, charge, username, items, sign.getBlock().getLocation(), ess); diff --git a/Essentials/src/config.yml b/Essentials/src/config.yml index 3ea88c1e3..bf5523e5a 100644 --- a/Essentials/src/config.yml +++ b/Essentials/src/config.yml @@ -206,7 +206,7 @@ player-commands: # Note: All items MUST be followed by a quantity! # All kit names should be lower case, and will be treated as lower in permissions/costs. # Syntax: - itemID[:DataValue/Durability] Amount [Enchantment:Level].. [itemmeta:value]... -# For Item meta information visit http://wiki.ess3.net/wiki/command_reference/ICheat#itemmeta +# For Item meta information visit http://wiki.ess3.net/wiki/Command_Reference/ICheat#itemmeta # 'delay' refers to the cooldown between how often you can use each kit, measured in seconds. # For more information, visit http://wiki.ess3.net/wiki/Command_Reference/ICheat#kits kits: diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index ca3cbc040..054bcbdda 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -121,7 +121,7 @@ commands: aliases: [efireball,fireskull,efireskull,fireentity,efireentity] firework: description: Allows you to modify a stack of fireworks - usage: / [|power [amount]|clear] + usage: / <|power [amount]|clear|fire> aliases: [efirework] gamemode: description: Change player gamemode.