Disable death announcement after K.O. by Slip Damage or Floor Damage?

How do I disable the message that appears when an actor is knocked out by Slip Damage or Floor Damage? I feel like this is a very simple fix, but I cannot find anything on this problem.
Any help would be appreciated!
It is hardcoded in the game core script in Game_Actor -> Line 591.
You can either comment it out (by adding # at the beginning of the line) or insert this as a new script instead.
Code:
class Game_Actor
  def on_player_walk
    @result.clear
    check_floor_effect
    if $game_player.normal_walk?
      turn_end_on_map
      states.each {|state| update_state_steps(state) }
      #show_added_states
      #show_removed_states
    end
  end
end
It works flawlessly. Thanks again! You are a VX Ace Ace!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/disable-death-announcement-after-k-o-by-slip-damage-or-floor-damage.119193/