Rudie Posted March 12, 2015 Author Share Posted March 12, 2015 Today you both solved a problem AND you learned something new. #winning (now go fix that conversion thingie ) Don't worry, I will , thanks for helping out! Quote Link to comment Share on other sites More sharing options...
Joseph Posted March 12, 2015 Share Posted March 12, 2015 Thanks for pointing out that that is a stupid way to do it, that way I keep learning and keep getting better at programming in Java taking word out my mouth Also I have tried doing it by doing myPosition.getX() + 1 but it would add the number right after the coord so like if the coord was 3444 it would change to 34441, I remembered this was a problem once in my class at javascript where we had to do something similiar to this and the teacher told us about parseInt, I looked it up if there was something like that in Java and eventually did it that way. if thats the case of the 33140 + 1 = 331401 << thats a bug report that shit. it should be 33140 + 1 = 33141 Quote Link to comment Share on other sites More sharing options...
Botre Posted March 12, 2015 Share Posted March 12, 2015 I have tried doing it by doing myPosition.getX() + 1 but it would add the number right after the coord so like if the coord was 3444 it would change to 34441. What Try again, it really is not supposed to do that inb4 OP broke java. 1 Quote Link to comment Share on other sites More sharing options...
Rudie Posted March 12, 2015 Author Share Posted March 12, 2015 (edited) taking word out my mouth Also if thats the case of the 33140 + 1 = 331401 << thats a bug report that shit. it should be 33140 + 1 = 33141 Yeah I thought it would automatically count up but it didn't I logged it to the console to see and it just pasted it right after, I'll go report it in a few minutes. Edited March 12, 2015 by Rudie 1 Quote Link to comment Share on other sites More sharing options...