From 3349b2aed94fc32727f04e4c84c5862798443412 Mon Sep 17 00:00:00 2001 From: rockyhawk64 Date: Wed, 6 Jan 2021 21:21:42 +1100 Subject: [PATCH] v3.14.5.2 --- resource/plugin.yml | 2 +- src/me/rockyhawk/commandpanels/CommandPanels.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/plugin.yml b/resource/plugin.yml index cfac529..9147b66 100644 --- a/resource/plugin.yml +++ b/resource/plugin.yml @@ -1,4 +1,4 @@ -version: 3.14.5.1 +version: 3.14.5.2 main: me.rockyhawk.commandpanels.CommandPanels name: CommandPanels author: RockyHawk diff --git a/src/me/rockyhawk/commandpanels/CommandPanels.java b/src/me/rockyhawk/commandpanels/CommandPanels.java index 4bc3d82..9bea3cd 100644 --- a/src/me/rockyhawk/commandpanels/CommandPanels.java +++ b/src/me/rockyhawk/commandpanels/CommandPanels.java @@ -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")));