InvocativeTargetException and config problems help

Discussion in 'Plugin Development' started by Jogy34, Aug 26, 2011.

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

    Jogy34

    @Adamki11s So if I have a boolean it would be something like this?
    Code:
    Boolean property1;
    ...
    Configuration c = new Configuration(configFile);
    c.load
    property1 = config.getBoolean("test", true);
    
     
  2. Exactly.
     
  3. Offline

    Jogy34

    @Adamki11s when I made property1 into public static property1 = null; and sent it to a player listener to test it, it kept returning null instead of true/false even thought in the main class I set it equal to config.getBoolean("test", true);
     
Thread Status:
Not open for further replies.

Share This Page