fixed a bug where if the bungeecord version couldnt load the config it wouldnt register the command or events
This commit is contained in:
@@ -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,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,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:
|
||||||
|
|||||||
Reference in New Issue
Block a user