diff --git a/pom.xml b/pom.xml index 18fd6aa..0c9d0d5 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 at.pcgamingfreaks Minepacks - 2.1.2 + 2.1.3 scm:git:git@github.com:GeorgH93/Minepacks.git diff --git a/resources/lang/de.yml b/resources/lang/de.yml index 62d40fe..5a7b832 100644 --- a/resources/lang/de.yml +++ b/resources/lang/de.yml @@ -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\"}]" diff --git a/resources/lang/en.yml b/resources/lang/en.yml index b93fc96..bfcf432 100644 --- a/resources/lang/en.yml +++ b/resources/lang/en.yml @@ -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\"}]" diff --git a/src/at/pcgamingfreaks/Minepacks/Bukkit/Command/ReloadCommand.java b/src/at/pcgamingfreaks/Minepacks/Bukkit/Command/ReloadCommand.java index 9e984f1..7b7c5c0 100644 --- a/src/at/pcgamingfreaks/Minepacks/Bukkit/Command/ReloadCommand.java +++ b/src/at/pcgamingfreaks/Minepacks/Bukkit/Command/ReloadCommand.java @@ -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