mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 09:57:45 +01:00
Fix player title overrides
This commit is contained in:
parent
aff04c0e0d
commit
f9ab109eb0
@ -1078,11 +1078,7 @@ public class Player extends LivingEntity implements CommandSender {
|
|||||||
playerConnection.sendPacket(titlePacket);
|
playerConnection.sendPacket(titlePacket);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
@Override
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
public void resetTitle() {
|
public void resetTitle() {
|
||||||
TitlePacket titlePacket = new TitlePacket(TitlePacket.Action.RESET);
|
TitlePacket titlePacket = new TitlePacket(TitlePacket.Action.RESET);
|
||||||
playerConnection.sendPacket(titlePacket);
|
playerConnection.sendPacket(titlePacket);
|
||||||
|
Loading…
Reference in New Issue
Block a user