Conditions | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package net.labymod.serverapi.bukkit; |
||
35 | @Override |
||
36 | public void init( File file ) { |
||
37 | // Applying options to the config |
||
38 | fileConfiguration.options().copyDefaults( true ); |
||
39 | |||
40 | // Adding the defaults |
||
41 | addDefaults(); |
||
42 | |||
43 | // Saving the config after adding the defaults |
||
44 | saveConfig(); |
||
45 | |||
46 | // Loading the values |
||
47 | loadValues(); |
||
48 | } |
||
69 |