Skip to content

Commit e87c6e3

Browse files
authored
remove deleted parameter from documentation
1 parent 22fdd10 commit e87c6e3

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,10 @@ all fields in your class will be loaded and saved to the yaml document.
110110

111111
- The file specified in the constructor should be in the plugin's data folder, else it will appear in the main server directory.
112112

113-
- You can optionally set the defaults for the plugin by using `getResource`, this shouldn't be used by most people unless you are directly accessing values.
114-
115113
```java
116114
public Settings(ExamplePlugin plugin) {
117115
super(
118-
new File(plugin.getDataFolder(), "settings.yml"), // Point 1 (Required)
119-
plugin.getResource("settings.yml"), // Point 2 (Optional)
116+
new File(plugin.getDataFolder(), "settings.yml"),
120117
plugin.getConfigHandler()
121118
);
122119
}

0 commit comments

Comments
 (0)