Development Assistance What Do I Assign To Economy?

Discussion in 'Plugin Help/Development/Requests' started by Shortninja66, Jan 6, 2015.

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

    Shortninja66

    I am having issues with Vault API economy working with my EventListener, a NPE to be exact. I have debugged the error, which is the following:
    Code:
        public static Economy econ = null;
        public static EconomyResponse r;
    As you can see the Economy is null, but I really have no idea what to assign to it, For some reason, leaving it null works fine in the Main Class, which has "withdrawPlayer" methods. All I really need to know is what to assign, as I have had no luck with Google.
     
Thread Status:
Not open for further replies.

Share This Page