1.1
When reloading the plugin, only the config.yml was reloaded but not the messages, this was fixed
This commit is contained in:
parent
4501fe550c
commit
b9d20ffb06
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>AutomatedMessages</artifactId>
|
<artifactId>AutomatedMessages</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.1</version>
|
||||||
<!--version>VERSION_snapshot-0</version-->
|
<!--version>VERSION_snapshot-0</version-->
|
||||||
<!--version>VERSION_beta-0</version-->
|
<!--version>VERSION_beta-0</version-->
|
||||||
<!--version>VERSION_dev-0</version-->
|
<!--version>VERSION_dev-0</version-->
|
||||||
|
@ -3,6 +3,7 @@ package net.t2code.automatedMessages.command;
|
|||||||
import net.t2code.automatedMessages.Util;
|
import net.t2code.automatedMessages.Util;
|
||||||
import net.t2code.automatedMessages.config.Config;
|
import net.t2code.automatedMessages.config.Config;
|
||||||
import net.t2code.automatedMessages.config.FileBuild;
|
import net.t2code.automatedMessages.config.FileBuild;
|
||||||
|
import net.t2code.automatedMessages.config.messages.MessagesSelect;
|
||||||
import net.t2code.automatedMessages.messages.Management;
|
import net.t2code.automatedMessages.messages.Management;
|
||||||
import net.t2code.automatedMessages.system.Main;
|
import net.t2code.automatedMessages.system.Main;
|
||||||
import net.t2code.t2codelib.SPIGOT.api.messages.T2Csend;
|
import net.t2code.t2codelib.SPIGOT.api.messages.T2Csend;
|
||||||
@ -17,6 +18,7 @@ public class Commands {
|
|||||||
Management.end();
|
Management.end();
|
||||||
|
|
||||||
FileBuild.selectConfig();
|
FileBuild.selectConfig();
|
||||||
|
MessagesSelect.select();
|
||||||
|
|
||||||
Management.start();
|
Management.start();
|
||||||
if (sender instanceof Player) T2Csend.sender(sender, Config.msgReloadEnd.valueString);
|
if (sender instanceof Player) T2Csend.sender(sender, Config.msgReloadEnd.valueString);
|
||||||
|
@ -5,6 +5,7 @@ main: net.t2code.automatedMessages.system.Main
|
|||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
softdepend: [ T2CodeLib ]
|
softdepend: [ T2CodeLib ]
|
||||||
authors: [ JaTiTV ]
|
authors: [ JaTiTV ]
|
||||||
|
website: https://www.spigotmc.org/resources/110801/
|
||||||
commands:
|
commands:
|
||||||
t2c-automatedmessages:
|
t2c-automatedmessages:
|
||||||
description: T2C-AutomatedMessages Main Command.
|
description: T2C-AutomatedMessages Main Command.
|
||||||
|
Loading…
Reference in New Issue
Block a user