30.05(f)
(f) It is a defense to prosecution under this section that:
(1) the basis on which entry on the property or land or in the building was forbidden is that entry with a handgun was forbidden; and
(2) the person was carrying:
(A) a license issued under Subchapter H, Chapter 411, Government Code, to carry a handgun; and
(B) a handgun:
(i) in a concealed manner; or
(ii) in a shoulder or belt holster.