116 {
118 bool result = false;
119 if (eai)
120 {
121 if (eai.IsWeapon())
122 {
123 result = true;
124 }
125 }
126 #ifdef ENABLE_LOGGING
127 if ( LogManager.IsInventoryHFSMLogEnable() )
128 {
129 Debug.InventoryHFSMLog(
"GuardCondition result: " + result,
"HandGuardHasWeaponInEvent",
"n/a",
"GuardCondition", e.m_Player.ToString() );
130 }
131 #endif
132 return result;
133 }