.

Discussion in 'Plugin Development' started by elementalgodz11, Dec 29, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    elementalgodz11

    .
     

    Attached Files:

  2. Offline

    BillyGalbreath

    Its all about scope. Do you have a reference to SnailCommand from the other class (not a new one)? If not, then you need to make your HashSet static or move it somewhere else thats readily accessible (like the main class).
     
  3. Offline

    1Rogue

    You don't call "Class.this.<method>" for that declaration. You would use the instance variable to access it:

    Code:java
    1. YourClass example = new YourClass(/*arguments*/);
    2. //with your map in mind...
    3. example.snail.get(/*some key*/); //example usage
     
Thread Status:
Not open for further replies.

Share This Page