public void renderName(PlayerEvent.NameFormat event) {
event.getEntityPlayer().addPrefix(new TextComponentString(prefix + " "));
}
I use the above code to add a prefix to players. It works fine but, how would I go about remove the prefix after adding it?