Inventory Gui

Discussion in 'Plugin Development' started by Dzikoysk, Dec 14, 2013.

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


    == Whatever ==
  2. Offline


    When it says that there was an "Internal server error", there should be a stacktrace in the console or server log. It would be nice to have that one with the corresponding line number as well.

    Also, Are you purposely listening for "Event"? Becase if it's not called from somewhere outside, this will not be called for 2 reasons:
    1. @EventHandler is missing
    2. "Event" will not be triggered. No matter what's happening

    I've never used Expressions before, so I can't tell you, if there's anything wrong.
    Dzikoysk likes this.
  3. Offline


    Did you register everything in onEnable?
  4. Offline

    1Rogue Retired Staff

    Numerous things:

    - Your fields are not initialized
    - You do should not listen to the super type "Event"
    - You do not have the @interface annotation for EventHandler
    - Unless you wrote your own generic "Expression" class, there is no java class for it. If you wrote one, then provide it.

    What are you actually expecting this code to do...?
    Dzikoysk and AoH_Ruthless like this.
Thread Status:
Not open for further replies.

Share This Page