9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-29 03:49:19 +00:00

add different message for no permission for cosmetics and make the chat thing reload too

This commit is contained in:
Skyslycer
2022-01-13 22:08:10 +01:00
parent c97c3650ea
commit a8ba081975
5 changed files with 7 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
@Command("cosmetics")
@@ -51,6 +52,7 @@ public class CosmeticsCommand extends CommandBase {
this.plugin,
() -> {
this.cosmeticsMenu.reload();
this.plugin.getMessageHandler().load();
this.messageHandler.sendMessage(
sender,
Messages.RELOADED