summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-04-18 00:37:44 +0100
committerKHobbits <rob@khobbits.co.uk>2012-04-18 00:37:44 +0100
commit507ecc47b6c87c4e53282ea3afe78bc44a36b550 (patch)
tree9952d790992c9c78a8b2e5e2812d7dfd0681dbf9
parent4a29dd4c9cf911dc8034d683da6e3bf882ebeee4 (diff)
downloadEssentials-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.java6
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)
{