Fix Sidebar line score not being removed client-side

This commit is contained in:
themode 2021-01-27 17:46:26 +01:00
parent 7a54b4162d
commit 626d48a0fb

View File

@ -180,7 +180,7 @@ public class Sidebar implements Scoreboard {
if (line.id.equals(id)) {
// Remove the line for current viewers
sendPacketsToViewers(line.getScoreCreationPacket(objectiveName), line.sidebarTeam.getDestructionPacket());
sendPacketsToViewers(line.getScoreDestructionPacket(objectiveName), line.sidebarTeam.getDestructionPacket());
line.returnName(availableColors);
return true;