Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • legacy
  • master
  • sandbox
  • 4.9.3.0
  • 5.0.0.110
  • 5.0.0.85
6 results

Target

Select target project
No results found
Select Git revision
  • legacy
  • master
  • sandbox
  • 4.9.3.0
  • 5.0.0.110
  • 5.0.0.85
6 results
Show changes

Commits on Source 2

4 files
+ 10
5
Compare changes
  • Side-by-side
  • Inline

Files

+5 −0
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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
            {
@@ -33,7 +33,7 @@ namespace Rocket.Unturned.Chat
                Core.Logging.Logger.LogException(ex);
            }

            cancel = !cancel;
            isVisible = !cancel;
            incomingColor = color;
        }

Original line number Diff line number Diff line
@@ -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