1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-31 18:21:51 +02:00

Golden rule of commiting, don't make formatting worse in a cleanup commit.

This commit is contained in:
md_5
2012-10-09 20:24:45 +11:00
parent 4aba49ce30
commit 24ea8fe410

View File

@@ -18,10 +18,10 @@ public class Commanditem extends EssentialsCommand
throw new NotEnoughArgumentsException();
}
if (args.length > 1 && "love".equals(args[0]) && "you".equals(args[1]))
{
if (args.length > 1 && args[0].equals("love") && args[1].equals("you"))
{
user.sendMessage("What is love?");
user.sendMessage("Baby don't hurt me");
user.sendMessage("Baby don't hurt me");
return;
}
final ItemStack stack = ess.getItemDb().get(args[0], user);
@@ -68,6 +68,6 @@ public class Commanditem extends EssentialsCommand
user.giveItems(stack, false);
final String displayName = stack.getType().toString().toLowerCase(Locale.ENGLISH).replace('_', ' ');
user.sendMessage(_("itemSpawn", stack.getAmount(), displayName));
user.sendMessage(_("itemSpawn", stack.getAmount(), displayName));
}
}