summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <ementalo@gmx.co.uk>2011-07-08 12:38:54 +0100
committerementalo <ementalo@gmx.co.uk>2011-07-08 12:38:54 +0100
commitaefbf921fe1aeb4a9d315291725623cc11889972 (patch)
tree2eb3b3edef61498241e83008a9c2d1bf0f822920
parent8a1fb88ecde28ec8c6b97dec347286c1af725f0d (diff)
downloadEssentials-aefbf921fe1aeb4a9d315291725623cc11889972.tar
Essentials-aefbf921fe1aeb4a9d315291725623cc11889972.tar.gz
Essentials-aefbf921fe1aeb4a9d315291725623cc11889972.tar.lz
Essentials-aefbf921fe1aeb4a9d315291725623cc11889972.tar.xz
Essentials-aefbf921fe1aeb4a9d315291725623cc11889972.zip
fixing eco command player argument. must be careful with c&p :/
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandeco.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandeco.java b/Essentials/src/com/earth2me/essentials/commands/Commandeco.java
index e64d42946..2aa883bbf 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandeco.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandeco.java
@@ -55,7 +55,7 @@ public class Commandeco extends EssentialsCommand
}
else
{
- User u = getPlayer(server, args, 0, true);
+ User u = getPlayer(server, args, 1, true);
switch (cmd)
{
case GIVE: