summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-03-29 00:13:56 +0100
committerKHobbits <rob@khobbits.co.uk>2012-03-29 00:13:56 +0100
commit10f82a6723b63973d6d2d3ed53aa6473a37d0f3e (patch)
tree42eef8197fa2d5edf7b532f3180cf4f77d593c85
parent2aed3af3c40e83615828513c2aede307de2d664c (diff)
downloadEssentials-10f82a6723b63973d6d2d3ed53aa6473a37d0f3e.tar
Essentials-10f82a6723b63973d6d2d3ed53aa6473a37d0f3e.tar.gz
Essentials-10f82a6723b63973d6d2d3ed53aa6473a37d0f3e.tar.lz
Essentials-10f82a6723b63973d6d2d3ed53aa6473a37d0f3e.tar.xz
Essentials-10f82a6723b63973d6d2d3ed53aa6473a37d0f3e.zip
Fix using /setworth <price>
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java b/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java
index 734d9244d..91a1dd657 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java
@@ -17,7 +17,7 @@ public class Commandsetworth extends EssentialsCommand
@Override
public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
{
- if (args.length < 2)
+ if (args.length < 1)
{
throw new NotEnoughArgumentsException();
}