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

This commit is contained in:
Oskar Nordling 2017-07-03 07:13:20 +02:00
parent 548cfbc58a
commit a436526aea
4 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,7 @@
<groupId>me.oskar3123</groupId>
<artifactId>staffchat</artifactId>
<version>1.1.1-SNAPSHOT</version>
<version>1.1.2-SNAPSHOT</version>
<repositories>
<repository>

View File

@ -28,7 +28,6 @@ public class BungeeMain extends Plugin
if (!reloadConfig())
{
getLogger().severe("Could not load config file, using defaults.");
return;
}
registerCommands();
registerEvents();

View File

@ -1,4 +1,4 @@
name: StaffChat
authors: [oskar3123]
main: me.oskar3123.staffchat.bungee.BungeeMain
version: 1.1.1
version: 1.1.2

View File

@ -1,7 +1,7 @@
name: StaffChat
authors: [oskar3123]
main: me.oskar3123.staffchat.spigot.Main
version: 1.1.1
version: 1.1.2
commands:
staffchat: