mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Do not broadcast reload messages (Fixes #60)
This commit is contained in:
parent
17d2cc637d
commit
5a165f3dc6
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>at.pcgamingfreaks</groupId>
|
||||
<artifactId>Minepacks</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<version>2.1.3</version>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:git@github.com:GeorgH93/Minepacks.git</connection>
|
||||
|
@ -26,8 +26,8 @@ Language:
|
||||
Header: "&6### Minepacks Commands ###"
|
||||
Footer: "&6#############################"
|
||||
Reload:
|
||||
Reloading: "&1Plugin wird neu geladen ..."
|
||||
Reloaded: "&1Plugin neu geladen!"
|
||||
Reloading: "&Minepacks wird neu geladen ..."
|
||||
Reloaded: "&1Minepacks neu geladen!"
|
||||
Update:
|
||||
CheckingForUpdates: "&1Suche nach Aktualisierungen ..."
|
||||
Updated: "[\"\",{\"text\":\"Plugin wurde aktualisiert, Änderungen werden mit dem nächsten neustart übernommen.\",\"color\":\"yellow\"}]"
|
||||
|
@ -27,8 +27,8 @@ Language:
|
||||
Header: "&6### Minepacks Commands ###"
|
||||
Footer: "&6#############################"
|
||||
Reload:
|
||||
Reloading: "&1Reloading ..."
|
||||
Reloaded: "&1Reloaded!"
|
||||
Reloading: "&1Reloading Minepacks ..."
|
||||
Reloaded: "&1Minepacks reloaded!"
|
||||
Update:
|
||||
CheckingForUpdates: "&1Checking for updates ..."
|
||||
Updated: "[\"\",{\"text\":\"Plugin updated, will be loaded on next restart/reload.\",\"color\":\"yellow\"}]"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 GeorgH93
|
||||
* Copyright (C) 2020 GeorgH93
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -42,9 +42,9 @@ public ReloadCommand(Minepacks plugin)
|
||||
@Override
|
||||
public void execute(@NotNull CommandSender sender, @NotNull String mainCommandAlias, @NotNull String alias, @NotNull String[] args)
|
||||
{
|
||||
messageReloading.broadcast();
|
||||
messageReloading.send(sender);
|
||||
((Minepacks) plugin).reload();
|
||||
messageReloaded.broadcast();
|
||||
messageReloaded.send(sender);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user