Commands Will Not Work

Discussion in 'Plugin Development' started by RDNachoz, Dec 21, 2013.

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

    RDNachoz

    Hey there, I just need some help with my commands class. Every command in it theoretically should work. But the only two that are returning anything are /sg help and /sg. Please help!

    Commands.class:
    http://hastebin.com/cikukijaji.avrasm

    Thanks!
     
  2. Offline

    NoLiver92

    why do you hot post your code on this forum post? I cannot view your code as the network im on blocks that website.
     
  3. Offline

    RDNachoz

    Too long of a file. I would if I could
     
  4. Offline

    RawCode

    700 lines without single debug output line?

    you shoud review your coding style.
     
  5. Offline

    AoH_Ruthless

    RDNachoz

    You are casting the variable to the sender before checking the instance. Check the instance first.

    Also, are you registering the commands in your onEnable()?
     
  6. Offline

    RDNachoz

    I got everything working right, but now I just have some commands just returning my command usage thing. Is this because I have a misplaced return false;?
     
Thread Status:
Not open for further replies.

Share This Page