Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boolean prefix = mobConfig.getConfig().getBoolean("UsePrefix", true);
- boolean suffix = mobConfig.getConfig().getBoolean("UseSuffix", false);
- if (prefix) {
- newName = ChatColor.translateAlternateColorCodes('&', format.replace("#", level + "")) + " " + ChatColor.WHITE + newName;
- }
- if (suffix) {
- newName += " " + ChatColor.translateAlternateColorCodes('&', format.replace("#", level + ""));
- }
- ent.setCustomName(newName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement