mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Switch the order of the alt give syntax to follow vanilla order.
This commit is contained in:
parent
4a29dd4c9c
commit
507ecc47b6
1 changed files with 3 additions and 3 deletions
|
@ -47,8 +47,8 @@ public class Commandgive extends EssentialsCommand
|
|||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue