v3.14.5.2

This commit is contained in:
rockyhawk64 2021-01-06 21:21:42 +11:00
parent fed849f02f
commit 3349b2aed9
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version: 3.14.5.1
version: 3.14.5.2
main: me.rockyhawk.commandpanels.CommandPanels
name: CommandPanels
author: RockyHawk

View File

@ -178,7 +178,7 @@ public class CommandPanels extends JavaPlugin {
}
//save the example.yml file and the template.yml file
if (!this.panelsf.exists() || Objects.requireNonNull(this.panelsf.list()).length == 0) {
if (!this.panelsf.exists()) {
try {
FileConfiguration exampleFileConfiguration;
FileConfiguration templateFileConfiguration = YamlConfiguration.loadConfiguration(getReaderFromStream(this.getResource("template.yml")));