[SPIGOT-1217] CopyDefaults / SetDefaults not working as it should. Created: 30/Sep/15 Updated: 03/Oct/15 Resolved: 03/Oct/15 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | KyleD1986 | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | 1.8, Craftbukkit, spigot | ||
Environment: |
Java 8 |
Plugin: | Own plugin |
Description |
Copy defaults not working in conjuction with the setdefaults option and copying missing configuration files across. CODE: public void checkIPConfig(){ } |
Comments |
Comment by md_5 [ 03/Oct/15 ] |
I think you want .copyDefaults(true), you are simply using the getter. |
Comment by SpigotMC [ 30/Sep/15 ] |
Your build is not the latest and therefore may be the reason you are having this issue. Spigot is 0 version(s) behind. CraftBukkit is 2 version(s) behind. This message was automatically generated and is not guaranteed to be a solution to your issue. |