summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-10 13:50:15 +0000
committerementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-10 13:50:15 +0000
commitc67923edc59b4609e6e8fc5f70fad903c3a8a76a (patch)
treeabae7484410e38fee060f34ae615cf572ebcd0b6
parent31a2d1b2d951dfa8387fde3ce0db441f4a2c303d (diff)
downloadEssentials-c67923edc59b4609e6e8fc5f70fad903c3a8a76a.tar
Essentials-c67923edc59b4609e6e8fc5f70fad903c3a8a76a.tar.gz
Essentials-c67923edc59b4609e6e8fc5f70fad903c3a8a76a.tar.lz
Essentials-c67923edc59b4609e6e8fc5f70fad903c3a8a76a.tar.xz
Essentials-c67923edc59b4609e6e8fc5f70fad903c3a8a76a.zip
[trunk] fix give args
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1404 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandgive.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandgive.java b/Essentials/src/com/earth2me/essentials/commands/Commandgive.java
index 0353cd8a2..eeba116e3 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandgive.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandgive.java
@@ -25,7 +25,7 @@ public class Commandgive extends EssentialsCommand
throw new NotEnoughArgumentsException();
}
- ItemStack stack = ItemDb.get(args[0]);
+ ItemStack stack = ItemDb.get(args[1]);
String itemname = stack.getType().toString().toLowerCase().replace("_", "");
if (sender instanceof Player