Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
3882 {
3883 PlayerBase nplayer;
3884 if (PlayerBase.CastTo(nplayer,player))
3885 {
3886
3887 nplayer.SetEnableQuickBarEntityShortcut(this,false);
3888
3889 }
3890
3891
3892 player.GetHumanInventory().ClearUserReservedLocationForContainer(this);
3893
3894
3895 if (HasEnergyManager())
3896 {
3897 GetCompEM().UpdatePlugState();
3898 }
3899 }