No Empty Log Messages For Empty Skills

The request is plain and simple.

If an actor gets afflicted with a state which has no designated message, the battle log will display nothing.
upload_2019-1-7_19-54-21.png

upload_2019-1-7_19-51-55.png


But if someone uses a skill with no message, log shows their name and then nothing. Which looks wack.
upload_2019-1-7_19-50-17.png

upload_2019-1-7_19-54-3.png


What I want is for it to also show nothing when a skill with no message is used.
Use this snippet:
Code:
class Window_BattleLog < Window_Selectable
  alias amn_notext_windbattlelog_displayuseitem display_use_item
  def display_use_item(subject, item)
    if item.is_a?(RPG::Skill)
      return if item.message1.empty?
    end
    amn_notext_windbattlelog_displayuseitem(subject, item)
  end
end
Thank you lots!

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/no-empty-log-messages-for-empty-skills.104168/