6 if ( player && player.IsRestrained() )
8 player.SetRestrained(
false);
14 super.EEItemLocationChanged(oldLoc, newLoc);
18 if ( oldLoc.IsValid() && oldLoc.GetParent() )
21 if (old_player && old_player.IsRestrained())
23 old_player.SetRestrained(
false);
28 if ( newLoc.IsValid() )
30 if (newLoc.GetParent())
38 if ( !player.IsRestrained() )
40 player.SetRestrained(
true);
41 player.OnItemInHandsChanged();
44 player.OnRestrainStart();
54 if (oldLoc.GetParent())