mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
Fix Sidebar line score not being removed client-side
This commit is contained in:
parent
7a54b4162d
commit
626d48a0fb
@ -180,7 +180,7 @@ public class Sidebar implements Scoreboard {
|
|||||||
if (line.id.equals(id)) {
|
if (line.id.equals(id)) {
|
||||||
|
|
||||||
// Remove the line for current viewers
|
// Remove the line for current viewers
|
||||||
sendPacketsToViewers(line.getScoreCreationPacket(objectiveName), line.sidebarTeam.getDestructionPacket());
|
sendPacketsToViewers(line.getScoreDestructionPacket(objectiveName), line.sidebarTeam.getDestructionPacket());
|
||||||
|
|
||||||
line.returnName(availableColors);
|
line.returnName(availableColors);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user