Viston Posted October 1, 2017 Posted October 1, 2017 (edited) //Fixed the problem Edited October 1, 2017 by Viston
Lemons Posted October 1, 2017 Posted October 1, 2017 I assume its because you are calling miningPos1 = new Position() before the parsing is done to set the values, so the values would be "0" (the default for ints). Set the miningPos1 after parsing the variables, I assume in the constructor. 1