Problem/Bug Getting null!

Discussion in 'Plugin Help/Development/Requests' started by phil14052, Mar 29, 2015.

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

    phil14052

    Hey
    Iam making a plugin that does so you can get a reason you came to prison (For a prison server)
    But it does not say the reason but it says null. (I know its because it gives a nullPoint... thing) I just dont get why it says it because it gives a random reason in the playerdata folder i just cant put it as a message.
    Just so you know i have tried making this with a command and it works.

    Main class (CourtJugde.java):
    http://hastebin.com/qaligeteho.avrasm
    Events class:
    http://hastebin.com/soxipigigo.avrasm
    Commands Class:
    http://hastebin.com/icajurafih.avrasm
    Config class (Not made by me and is a lib!):
    http://hastebin.com/tilixolofo.java

    Reasons.yml:
    http://hastebin.com/akipeverin.erlang_repl

    Eksample PlayerData.yml:
    http://hastebin.com/robesohali.sm

    Plugin.yml:
    http://hastebin.com/owowehiwow.avrasm

    Config.yml:
    Nothing yet!


    //Phil14052
     
  2. Offline

    bwfcwalshy Retired Staff

  3. Offline

    phil14052

    It does not come with a error it just says error insted of the reason[​IMG]

    There does not come a error in console either

    <Edited by bwfcwalshy: Merged posts, please use the edit button rather than double posting.>
     
    Last edited by a moderator: Mar 30, 2015
  4. Offline

    bwfcwalshy Retired Staff

  5. Offline

    phil14052

  6. Offline

    bwfcwalshy Retired Staff

  7. Offline

    phil14052

  8. Offline

    nverdier

    Print a message out after each if statement, etc. Also, make sure you tag or quote somebody if you want to be sure they see your post!
     
  9. Offline

    phil14052

    Nothing new

    I have tryed making a command and it works. but i have tryed putting the same code on the place it says null
     
  10. Offline

    phil14052

    Still need help!
     
  11. Offline

    phil14052

    Guys i still need help (Sorry for bump!)
     
Thread Status:
Not open for further replies.

Share This Page