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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user