From aec635cdbfd25079c6014444161a23bc815c3e4e Mon Sep 17 00:00:00 2001 From: Blast-MC Date: Thu, 2 Jan 2025 11:20:45 -0500 Subject: [PATCH] fix set score kick --- patches/server/0024-Add-Sidebar-Utility.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/0024-Add-Sidebar-Utility.patch b/patches/server/0024-Add-Sidebar-Utility.patch index a6a4cfe..97ec5f3 100644 --- a/patches/server/0024-Add-Sidebar-Utility.patch +++ b/patches/server/0024-Add-Sidebar-Utility.patch @@ -184,7 +184,7 @@ index 0000000000000000000000000000000000000000..3184478d24e6c984d4e5b5f67253f966 + } + + java.util.Optional numberFormat = java.util.Optional.of((display == null || display.isEmpty() || display.isBlank()) ? BlankFormat.INSTANCE : new FixedFormat(Component.literal(StringUtils.colorize(display)))); -+ ClientboundSetScorePacket packet = new ClientboundSetScorePacket(id + value, this.name, line, null, numberFormat); ++ ClientboundSetScorePacket packet = new ClientboundSetScorePacket(id + value, this.name, line, Optional.empty(), numberFormat); + + this.connection.send(packet); + }