diff --git a/implementation/src/main/java/net/megavex/scoreboardlibrary/implementation/sidebar/AbstractSidebar.java b/implementation/src/main/java/net/megavex/scoreboardlibrary/implementation/sidebar/AbstractSidebar.java index 1d1d5bc..ada1710 100644 --- a/implementation/src/main/java/net/megavex/scoreboardlibrary/implementation/sidebar/AbstractSidebar.java +++ b/implementation/src/main/java/net/megavex/scoreboardlibrary/implementation/sidebar/AbstractSidebar.java @@ -237,7 +237,9 @@ public final boolean tick() { } else if (task instanceof SidebarTask.UpdateScores) { forEachLineHandler(LocaleLineHandler::updateScores); for (GlobalLineInfo line : lines) { - line.updateScore(false); + if (line != null) { + line.updateScore(false); + } } } else if (task instanceof SidebarTask.UpdateTitle) { packetAdapter.sendProperties(internalPlayers(), PropertiesPacketType.UPDATE, title, ObjectiveRenderType.INTEGER, ScoreFormat.blank());