A server-side skin overlay data fix.

This commit is contained in:
Luis C.M committed 2022-06-15 05:04:17 -05:00
1 parent 3a604112ca
commit c95c48a033
1 file changed
+1 -1
@@ -68,7 +68,7 @@ public class ScriptPlayerEventHandler {
Server.sendData((EntityPlayerMP) player, EnumPacketClient.OVERLAY_QUEST_TRACKING);
}
if (player.ticksExisted%20 == 0) {
if (player.ticksExisted%20 == 0 && !PlayerDataController.instance.getPlayerData(player).skinOverlays.overlayList.isEmpty()) {
PlayerDataController.instance.getPlayerData(player).skinOverlays.updateClient();
}
}