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 | 507ecc47b6c87c4e53282ea3afe78bc44a36b550 (patch) | |
tree | 9952d790992c9c78a8b2e5e2812d7dfd0681dbf9 | |
parent | 4a29dd4c9cf911dc8034d683da6e3bf882ebeee4 (diff) | |
download | Essentials-507ecc47b6c87c4e53282ea3afe78bc44a36b550.tar Essentials-507ecc47b6c87c4e53282ea3afe78bc44a36b550.tar.gz Essentials-507ecc47b6c87c4e53282ea3afe78bc44a36b550.tar.lz Essentials-507ecc47b6c87c4e53282ea3afe78bc44a36b550.tar.xz Essentials-507ecc47b6c87c4e53282ea3afe78bc44a36b550.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) { |