mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Fix parameterless object selection modificaitons
Defaults to 1
This commit is contained in:
1 parent
c65c197fbe
commit
125a89b5f9
3 files changed
+3
-3
No files matched your search
@@ -45,7 +45,7 @@ public class CommandIrisObjectContract extends MortarCommand
|
||||
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 a1 = b[0].clone();
|
||||
Location a2 = b[1].clone();
|
||||
|
||||
@@ -45,7 +45,7 @@ public class CommandIrisObjectExpand extends MortarCommand
|
||||
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 a1 = b[0].clone();
|
||||
Location a2 = b[1].clone();
|
||||
|
||||
@@ -45,7 +45,7 @@ public class CommandIrisObjectShift extends MortarCommand
|
||||
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 a1 = b[0].clone();
|
||||
Location a2 = b[1].clone();
|
||||
|
||||
Reference in new issue
Block a user