1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-29 07:39:09 +02:00

[trunk] fix give args

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1404 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo
2011-05-10 13:50:15 +00:00
parent 31a2d1b2d9
commit c67923edc5

View File

@@ -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