Originally Posted by
lmctruck30
at ObjectClicking.objectOption1(ObjectClicking.java:1 07)
show this
Code:
if (c.absX == 3215 && c.absY == 3476
|| c.absX == 3215 && c.absY == 3477) {
c.makeGlobalObject(3215, 3477, 1537, -6, 0);
Lines 106-108.
Originally Posted by
rmb7
Here I will try.
if you have String w = null; and you dont asign it anything you will get that exeption because you cant have a nulled string. Its like when you say something but you dont make any noise. People are like huh?
So to prevent it you do something like if(w != null) { then the rest of your code.
Then if you want you can put } else { System.out.println("w is a null"); }
Hmm... I get it a little better now. Still, I haven't worked out how to stop it from that.