Jump to content

[1.12.2] How to remove prefix?


Ahmed563

Recommended Posts

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?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.