mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-27 19:47:42 +01:00
Minor comment updates.
This commit is contained in:
parent
ef01332114
commit
5225fb22f8
@ -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
|
||||
{
|
||||
|
@ -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.");
|
||||
|
@ -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);
|
||||
|
@ -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"));
|
||||
|
@ -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);
|
||||
|
@ -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:
|
||||
|
@ -121,7 +121,7 @@ commands:
|
||||
aliases: [efireball,fireskull,efireskull,fireentity,efireentity]
|
||||
firework:
|
||||
description: Allows you to modify a stack of fireworks
|
||||
usage: /<command> [<meta param>|power [amount]|clear]
|
||||
usage: /<command> <<meta param>|power [amount]|clear|fire>
|
||||
aliases: [efirework]
|
||||
gamemode:
|
||||
description: Change player gamemode.
|
||||
|
Loading…
Reference in New Issue
Block a user