Update CommandIrisStructureCreate.java

Last fix (trust me)
This commit is contained in:
BuildTools 2020-10-23 00:21:32 +02:00
parent d8cb9f2c03
commit aa5a72b788

View File

@ -60,11 +60,12 @@ public class CommandIrisStructureCreate extends MortarCommand
} else {
height = Integer.parseInt(args[3]);
}
} else if (args[3].equalsIgnoreCase("-3d")){
width = Integer.parseInt(args[2]);
height = Integer.parseInt(args[3]);
d3 = true;
} else {
for (String i : args){
if (i.equalsIgnoreCase("-3d")){
d3 = true;
}
}
width = Integer.parseInt(args[2]);
height = Integer.parseInt(args[3]);
}