Viston Posted October 1, 2017 Share Posted October 1, 2017 (edited) //Fixed the problem Edited October 1, 2017 by Viston Link to comment Share on other sites More sharing options...
Lemons Posted October 1, 2017 Share 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 Link to comment Share on other sites More sharing options...