In my main class that is run on startup, it tries to put some data into a HashMap. But it's saying that HashMap is null, and that it can't add the data.
public class COD extends JavaPlugin{
public void loadConfig(){
Settings.gunradius.put("Famas", getConfig().getInt("guns.Famas"));
}
}
public class Settings {
static HashMap<String, Integer> gunradius;
}
It won't put the data into the HashMap. I suspect it has something to do with the methods being static, but I don't really know.