Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
fix: error log on connect message due to clantag getter
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ryuu committed Jul 24, 2024
1 parent 5cb85c2 commit de2b37e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- fix: remove unused code part
- fix: disconnect message not shown even if enabled
- fix: team-balance freeze/crash the server
- fix: error log on connect message due to clantag getter
- chore: update README.md to use new team standards and fix broken links

-- 2024.06.03 - V4.4.0
Expand Down
Binary file modified K4-SharedApi/src/K4-SharedApi.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions K4-System/src/Plugin/PluginDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,9 @@ public void LoadPlayerRowToCache(K4Player k4player, dynamic row, bool all)

if (Config.UtilSettings.ConnectMessageEnable)
{
if (!k4player.IsValid || !k4player.IsPlayer)
return;

ReplacePlaceholders(k4player, Localizer["k4.announcement.connect"], (result) =>
{
Server.NextWorldUpdate(() =>
Expand Down

0 comments on commit de2b37e

Please sign in to comment.