mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Update CommandIrisStructureCreate.java
Last fix (trust me)
This commit is contained in:
parent
d8cb9f2c03
commit
aa5a72b788
@ -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]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user