aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection/Resurrection.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-08-19 21:58:40 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-08-19 21:58:40 -0600
commitf75681144085e729b4e9972908c1fc859670bb4b (patch)
tree6c5c493288cfc5c241b68a803402b4c8763df41c /src/net/brysonsteck/Resurrection/Resurrection.java
parent4af9e11bf4abae7f866b62af0877b4ce8bd94365 (diff)
downloadresurrection-f75681144085e729b4e9972908c1fc859670bb4b.tar
resurrection-f75681144085e729b4e9972908c1fc859670bb4b.tar.gz
resurrection-f75681144085e729b4e9972908c1fc859670bb4b.tar.bz2
added h and f mods for timecheck.formattime
Diffstat (limited to 'src/net/brysonsteck/Resurrection/Resurrection.java')
-rw-r--r--src/net/brysonsteck/Resurrection/Resurrection.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/net/brysonsteck/Resurrection/Resurrection.java b/src/net/brysonsteck/Resurrection/Resurrection.java
index b487fdf..f481572 100644
--- a/src/net/brysonsteck/Resurrection/Resurrection.java
+++ b/src/net/brysonsteck/Resurrection/Resurrection.java
@@ -88,15 +88,8 @@ public class Resurrection extends JavaPlugin implements Listener {
}
if (!settingsFile.exists()) {
System.out.println("[Resurrection] Settings file does not exist. (This file is new with the 0.2 beta if you upgraded.) Creating now in the \"plugins\" directory...");
- try {
- settingsFile.createNewFile();
- System.out.println("[Resurrection] Settings file created successfully.");
- } catch (IOException e) {
- System.out.println("[Resurrection] An error has occurred creating the settings file!");
- e.printStackTrace();
- System.out.println("[Resurrection] This file is crucial to Resurrection. Since the file could not be created, the plugin will now stop.");
- Bukkit.getPluginManager().disablePlugin(this);
- }
+ ParseSettings parseSettings = new ParseSettings();
+ System.out.println("[Resurrection] Settings file created successfully.");
} else {
System.out.println("[Resurrection] The settings file has also been found!");
}