File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ public void UpdateMessage()
5858 . Where ( x => x . CountDown > 0 )
5959 . Where ( x => x . CanSee ( this . player ) )
6060 . ToList ( ) ;
61-
62- displayableMessages . ForEach ( x => x . CountDown -- ) ;
6361 }
6462 catch ( Exception ex )
6563 {
@@ -125,6 +123,12 @@ private static IEnumerator<float> AutoUpdateMethod()
125123 {
126124 messageManager . UpdateMessage ( ) ;
127125 }
126+
127+ MessagePool
128+ . GetMessages ( )
129+ . Where ( x => x . CountDown >= 0 )
130+ . ToList ( )
131+ . ForEach ( x => x . CountDown -- ) ;
128132 }
129133 catch ( Exception e )
130134 {
Original file line number Diff line number Diff line change 1818// fixing bugs
1919// V1.2.2
2020// Use count down instead of calculating the time directly. Bug fixing
21+ // V1.2.3
22+ // Bug fixing
2123
2224namespace TextChatMeow
2325{
@@ -27,7 +29,7 @@ internal class Plugin : Plugin<Config>
2729
2830 public override string Name => "TextChatMeow" ;
2931 public override string Author => "MeowServerOwner" ;
30- public override Version Version => new Version ( 1 , 2 , 2 ) ;
32+ public override Version Version => new Version ( 1 , 2 , 3 ) ;
3133
3234 public override void OnEnabled ( )
3335 {
You can’t perform that action at this time.
0 commit comments