mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 03:38:28 +00: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:
parent
31a2d1b2d9
commit
c67923edc5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue