Class PlayerData refusing to work with me

Discussion in 'Plugin Development' started by jordanzilla02, Nov 10, 2013.

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

    jordanzilla02

    I took a screenshot of my latest plugin I have been working on and having a problem fixing a bug. The bug will not let me choose another option or find another way to get it. So please help me with this as for this is my first minigame.

    [​IMG]
     
  2. Offline

    Darq

    You can't declare an other class in the same file outside of the scope of first class, however you can declare it INSIDE of the original class. They're called an Inner Class.
     
  3. Offline

    jordanzilla02

    I already declared it in the class before and didn't get a problem
     
  4. Offline

    Qwertyness_

    You need to create a new .java file for the second class and then reference it from your main class.
     
Thread Status:
Not open for further replies.

Share This Page