Skip to content

Commit

Permalink
Fix language invalid player placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wertik committed Nov 3, 2020
1 parent 6920d3a commit 6cd1228
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public MessageLanguage(DevportPlugin plugin) {
public void setDefaults() {
addDefault("Commands.Invalid-Type", "&cType &f%param% &cis invalid.");
addDefault("Commands.Invalid-Message", "&cMessage &f%param% &cis not valid in type &f%type%");
addDefault("Commands.Invalid-Player", "&cPlayer &f%player% &cis not online.");
addDefault("Commands.Invalid-Player", "&cPlayer &f%param% &cis not online.");

addDefault("Commands.Set.Done", "&7Set message &f%message% &7in message type &f%type%");
addDefault("Commands.Set.Done-Others", "&7Set message &f%message% &7in message type &f%type% &7for &f%player%");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import lombok.Getter;
import me.clip.placeholderapi.PlaceholderAPIPlugin;
import org.bukkit.ChatColor;
import org.bukkit.event.HandlerList;
import space.devport.utils.DevportPlugin;
import space.devport.utils.UsageFlag;
Expand All @@ -28,6 +29,11 @@ public static MessagePlugin getInstance() {
return getPlugin(MessagePlugin.class);
}

@Override
public ChatColor getColor() {
return ChatColor.YELLOW;
}

@Override
public void onPluginEnable() {
this.messageManager = new MessageManager(this);
Expand Down

0 comments on commit 6cd1228

Please sign in to comment.