Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void registerFile() {
- file = new File(getDataFolder(), "messages.yml");
- fileConfig = YamlConfiguration.loadConfiguration(file);
- saveFile();
- }
- public void saveFile() {
- try {
- fileConfig.save(file);
- } catch (IOException e) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement