Skip to content

Commit

Permalink
fix set score kick
Browse files Browse the repository at this point in the history
  • Loading branch information
Blast-MC committed Jan 2, 2025
1 parent c46dbce commit aec635c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/server/0024-Add-Sidebar-Utility.patch
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ index 0000000000000000000000000000000000000000..3184478d24e6c984d4e5b5f67253f966
+ }
+
+ java.util.Optional<NumberFormat> 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);
+ }
Expand Down

0 comments on commit aec635c

Please sign in to comment.