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
commitc2551af6f47a7b206047db86881023bd57e7484e (patch)
treef0a921aea2e0ecce85a3655aba53622513751fd6
parent0a3448b6802c6742105bd12337ba854035cba934 (diff)
downloadEssentials-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.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)
{