fixed a bug where if the bungeecord version couldnt load the config it wouldnt register the command or events
This commit is contained in:
parent
548cfbc58a
commit
a436526aea
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -28,7 +28,6 @@ public class BungeeMain extends Plugin
|
|||
if (!reloadConfig())
|
||||
{
|
||||
getLogger().severe("Could not load config file, using defaults.");
|
||||
return;
|
||||
}
|
||||
registerCommands();
|
||||
registerEvents();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: StaffChat
|
||||
authors: [oskar3123]
|
||||
main: me.oskar3123.staffchat.bungee.BungeeMain
|
||||
version: 1.1.1
|
||||
version: 1.1.2
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: StaffChat
|
||||
authors: [oskar3123]
|
||||
main: me.oskar3123.staffchat.spigot.Main
|
||||
version: 1.1.1
|
||||
version: 1.1.2
|
||||
|
||||
commands:
|
||||
staffchat:
|
||||
|
|
Loading…
Reference in New Issue