mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
Fix parameterless object selection modificaitons
Defaults to 1
This commit is contained in:
parent
c65c197fbe
commit
125a89b5f9
@ -45,7 +45,7 @@ public class CommandIrisObjectContract extends MortarCommand
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int amt = Integer.valueOf(args[0]);
|
int amt = args.length == 1 ? Integer.valueOf(args[0]) : 1;
|
||||||
Location[] b = WandManager.getCuboid(p.getInventory().getItemInMainHand());
|
Location[] b = WandManager.getCuboid(p.getInventory().getItemInMainHand());
|
||||||
Location a1 = b[0].clone();
|
Location a1 = b[0].clone();
|
||||||
Location a2 = b[1].clone();
|
Location a2 = b[1].clone();
|
||||||
|
@ -45,7 +45,7 @@ public class CommandIrisObjectExpand extends MortarCommand
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int amt = Integer.valueOf(args[0]);
|
int amt = args.length == 1 ? Integer.valueOf(args[0]) : 1;
|
||||||
Location[] b = WandManager.getCuboid(p.getInventory().getItemInMainHand());
|
Location[] b = WandManager.getCuboid(p.getInventory().getItemInMainHand());
|
||||||
Location a1 = b[0].clone();
|
Location a1 = b[0].clone();
|
||||||
Location a2 = b[1].clone();
|
Location a2 = b[1].clone();
|
||||||
|
@ -45,7 +45,7 @@ public class CommandIrisObjectShift extends MortarCommand
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int amt = Integer.valueOf(args[0]);
|
int amt = args.length == 1 ? Integer.valueOf(args[0]) : 1;
|
||||||
Location[] b = WandManager.getCuboid(p.getInventory().getItemInMainHand());
|
Location[] b = WandManager.getCuboid(p.getInventory().getItemInMainHand());
|
||||||
Location a1 = b[0].clone();
|
Location a1 = b[0].clone();
|
||||||
Location a2 = b[1].clone();
|
Location a2 = b[1].clone();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user