[Forge] Remove the message if platform == null.