fixed a bug where if the bungeecord version couldnt load the config it wouldnt register the command or events

This commit is contained in:
2017-07-03 07:13:20 +02:00
parent 548cfbc58a
commit a436526aea
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<groupId>me.oskar3123</groupId> <groupId>me.oskar3123</groupId>
<artifactId>staffchat</artifactId> <artifactId>staffchat</artifactId>
<version>1.1.1-SNAPSHOT</version> <version>1.1.2-SNAPSHOT</version>
<repositories> <repositories>
<repository> <repository>
@@ -28,7 +28,6 @@ public class BungeeMain extends Plugin
if (!reloadConfig()) if (!reloadConfig())
{ {
getLogger().severe("Could not load config file, using defaults."); getLogger().severe("Could not load config file, using defaults.");
return;
} }
registerCommands(); registerCommands();
registerEvents(); registerEvents();
+1 -1
View File
@@ -1,4 +1,4 @@
name: StaffChat name: StaffChat
authors: [oskar3123] authors: [oskar3123]
main: me.oskar3123.staffchat.bungee.BungeeMain main: me.oskar3123.staffchat.bungee.BungeeMain
version: 1.1.1 version: 1.1.2
+1 -1
View File
@@ -1,7 +1,7 @@
name: StaffChat name: StaffChat
authors: [oskar3123] authors: [oskar3123]
main: me.oskar3123.staffchat.spigot.Main main: me.oskar3123.staffchat.spigot.Main
version: 1.1.1 version: 1.1.2
commands: commands:
staffchat: staffchat: