diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-04-18 00:37:44 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-04-18 00:37:44 +0100 |
commit | c2551af6f47a7b206047db86881023bd57e7484e (patch) | |
tree | f0a921aea2e0ecce85a3655aba53622513751fd6 | |
parent | 0a3448b6802c6742105bd12337ba854035cba934 (diff) | |
download | Essentials-c2551af6f47a7b206047db86881023bd57e7484e.tar Essentials-c2551af6f47a7b206047db86881023bd57e7484e.tar.gz Essentials-c2551af6f47a7b206047db86881023bd57e7484e.tar.lz Essentials-c2551af6f47a7b206047db86881023bd57e7484e.tar.xz Essentials-c2551af6f47a7b206047db86881023bd57e7484e.zip |
Switch the order of the alt give syntax to follow vanilla order.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandgive.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandgive.java b/Essentials/src/com/earth2me/essentials/commands/Commandgive.java index 106efa6e9..21903e98b 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandgive.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandgive.java @@ -46,9 +46,9 @@ public class Commandgive extends EssentialsCommand final User giveTo = getPlayer(server, args, 0); if (args.length > 3 && Util.isInt(args[2]) && Util.isInt(args[3])) - { - stack.setDurability(Short.parseShort(args[2])); - stack.setAmount(Integer.parseInt(args[3])); + { + stack.setAmount(Integer.parseInt(args[2])); + stack.setDurability(Short.parseShort(args[3])); } else if (args.length > 2 && Integer.parseInt(args[2]) > 0) { |