I'm trying to store a LinkedHashMap in a config file using this code: Code:java public LinkedHashMap<String, Double> prices = new LinkedHashMap<String, Double>(); and this when loading the config: Code:java prices = (LinkedHashMap<String, Double>)config.getProperty("setrankpb.iConomy.prices"); if (prices == null) { prices = new LinkedHashMap<String, Double>(); prices.put("exampleRank", 3.0); config.setProperty("SetRankPB.iConomy.prices", prices); } The problem is, the plugin always thinks that my map is equal to null and resets the property. I don't have any errors in the console, it's only resetting, nothing else. Fixed it. The property was misspelt. EDIT by Moderator: merged posts, please use the edit button instead of double posting.