4 files + 10 − 5 Inline Compare changes Side-by-side Inline Show whitespace changes Files 4 CHANGELOG.md +5 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,11 @@ All notable changes should be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## 4.9.3.15 - 2023-02-08 ### Fixed - `OnPlayerChatted` overriding `isVisible` when `onChatted` is called beforehand. Thanks @rube200 in PR #58. ## 4.9.3.14 - 2022-04-01 ### Changed Loading Rocket.Unturned/Chat/UnturnedChat.cs +3 −3 Original line number Diff line number Diff line Loading @@ -19,9 +19,9 @@ namespace Rocket.Unturned.Chat SDG.Unturned.ChatManager.onChatted += handleChat; } private void handleChat(SteamPlayer steamPlayer, EChatMode chatMode, ref Color incomingColor, ref bool rich, string message, ref bool cancel) private void handleChat(SteamPlayer steamPlayer, EChatMode chatMode, ref Color incomingColor, ref bool rich, string message, ref bool isVisible) { cancel = false; bool cancel = !isVisible; Color color = incomingColor; try { Loading @@ -33,7 +33,7 @@ namespace Rocket.Unturned.Chat Core.Logging.Logger.LogException(ex); } cancel = !cancel; isVisible = !cancel; incomingColor = color; } Loading Rocket.Unturned/Properties/AssemblyInfo.cs +1 −1 Original line number Diff line number Diff line Loading @@ -6,4 +6,4 @@ using System.Runtime.InteropServices; [assembly: AssemblyProduct("Rocket.Unturned")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: Guid("8870d132-f877-4fbd-9e73-49c8b1af8b3f")] [assembly: AssemblyVersion("4.9.3.14")] No newline at end of file [assembly: AssemblyVersion("4.9.3.15")] No newline at end of file Rocket.Unturned/Rocket.Unturned/Rocket.Unturned.module +1 −1 Original line number Diff line number Diff line { "Name": "Rocket.Unturned", "Version": "4.9.3.14", "Version": "4.9.3.15", "Assemblies": [ { Loading
CHANGELOG.md +5 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,11 @@ All notable changes should be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## 4.9.3.15 - 2023-02-08 ### Fixed - `OnPlayerChatted` overriding `isVisible` when `onChatted` is called beforehand. Thanks @rube200 in PR #58. ## 4.9.3.14 - 2022-04-01 ### Changed Loading
Rocket.Unturned/Chat/UnturnedChat.cs +3 −3 Original line number Diff line number Diff line Loading @@ -19,9 +19,9 @@ namespace Rocket.Unturned.Chat SDG.Unturned.ChatManager.onChatted += handleChat; } private void handleChat(SteamPlayer steamPlayer, EChatMode chatMode, ref Color incomingColor, ref bool rich, string message, ref bool cancel) private void handleChat(SteamPlayer steamPlayer, EChatMode chatMode, ref Color incomingColor, ref bool rich, string message, ref bool isVisible) { cancel = false; bool cancel = !isVisible; Color color = incomingColor; try { Loading @@ -33,7 +33,7 @@ namespace Rocket.Unturned.Chat Core.Logging.Logger.LogException(ex); } cancel = !cancel; isVisible = !cancel; incomingColor = color; } Loading
Rocket.Unturned/Properties/AssemblyInfo.cs +1 −1 Original line number Diff line number Diff line Loading @@ -6,4 +6,4 @@ using System.Runtime.InteropServices; [assembly: AssemblyProduct("Rocket.Unturned")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: Guid("8870d132-f877-4fbd-9e73-49c8b1af8b3f")] [assembly: AssemblyVersion("4.9.3.14")] No newline at end of file [assembly: AssemblyVersion("4.9.3.15")] No newline at end of file
Rocket.Unturned/Rocket.Unturned/Rocket.Unturned.module +1 −1 Original line number Diff line number Diff line { "Name": "Rocket.Unturned", "Version": "4.9.3.14", "Version": "4.9.3.15", "Assemblies": [ { Loading