From 5d07c29cf6ab543dab9862991f5059cfbcdfa056 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 17 Apr 2021 07:08:35 -0400 Subject: [PATCH] Fix SpotBugs issue --- .../com/velocitypowered/proxy/tablist/VelocityTabList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java b/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java index 4367cffb1..a60500881 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabList.java @@ -60,8 +60,8 @@ public class VelocityTabList implements TabList { Component translatedFooter = player.translateMessage(footer); connection.write(new ClientboundHeaderAndFooterPacket( - serializer.serialize(header), - serializer.serialize(footer) + serializer.serialize(translatedHeader), + serializer.serialize(translatedFooter) )); }