mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 14:00:26 +00:00
Update CommandIrisStructureCreate.java
Last fix (trust me)
This commit is contained in:
1 parent
d8cb9f2c03
commit
aa5a72b788
1 file changed
+5
-4
@@ -60,11 +60,12 @@ public class CommandIrisStructureCreate extends MortarCommand
|
|||||||
} else {
|
} else {
|
||||||
height = Integer.parseInt(args[3]);
|
height = Integer.parseInt(args[3]);
|
||||||
}
|
}
|
||||||
} else if (args[3].equalsIgnoreCase("-3d")){
|
|
||||||
width = Integer.parseInt(args[2]);
|
|
||||||
height = Integer.parseInt(args[3]);
|
|
||||||
d3 = true;
|
|
||||||
} else {
|
} else {
|
||||||
|
for (String i : args){
|
||||||
|
if (i.equalsIgnoreCase("-3d")){
|
||||||
|
d3 = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
width = Integer.parseInt(args[2]);
|
width = Integer.parseInt(args[2]);
|
||||||
height = Integer.parseInt(args[3]);
|
height = Integer.parseInt(args[3]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user