From dc769be1ebd20c0cb0fb8ca787c38f51a21c803a Mon Sep 17 00:00:00 2001 From: Nathanael2611 Date: Fri, 19 Jul 2019 04:15:40 +0200 Subject: [PATCH] Modify little things --- .idea/vcs.xml | 6 +++++ .idea/workspace.xml | 25 ++++++++++++------- .../roleplaychat/plugin/core/ChatConfig.java | 1 - 3 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3d2d342..259cbf6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,13 @@ - + - + + + + + + @@ -264,6 +270,7 @@ + @@ -311,7 +318,7 @@ - + @@ -491,11 +498,11 @@ - - + + - + diff --git a/src/fr/nathanael2611/roleplaychat/plugin/core/ChatConfig.java b/src/fr/nathanael2611/roleplaychat/plugin/core/ChatConfig.java index a5309b6..af4b59b 100644 --- a/src/fr/nathanael2611/roleplaychat/plugin/core/ChatConfig.java +++ b/src/fr/nathanael2611/roleplaychat/plugin/core/ChatConfig.java @@ -96,7 +96,6 @@ public void reload() throws Exception { properties.store(new OutputStreamWriter(new FileOutputStream(configFile), "UTF-8"), ""); input.close(); } - public void createPropertyIfNull(String key, String value) { if(properties.getProperty(key) == null){ properties.setProperty(key, value);