Fix player title overrides

This commit is contained in:
Kieran Wallbanks 2021-03-01 17:27:10 +00:00
parent aff04c0e0d
commit f9ab109eb0
1 changed files with 1 additions and 5 deletions

View File

@ -1078,11 +1078,7 @@ public class Player extends LivingEntity implements CommandSender {
playerConnection.sendPacket(titlePacket);
}
/**
* Resets the previous title.
* @deprecated Use {@link #clearTitle()}. Note this title cannot be shown again. This
* is expected behavior and will be the case in 1.17.
*/
@Override
public void resetTitle() {
TitlePacket titlePacket = new TitlePacket(TitlePacket.Action.RESET);
playerConnection.sendPacket(titlePacket);