Event called on item when it is removed from the player(Man) inventory, passes the old owner as a parameter.
3936 {
3937 PlayerBase nplayer;
3938 if (PlayerBase.CastTo(nplayer,player))
3939 {
3940 nplayer.SetEnableQuickBarEntityShortcut(this, false);
3941 }
3942
3943 player.GetHumanInventory().ClearUserReservedLocationForContainer(this);
3944
3945 if (HasEnergyManager())
3946 {
3947 GetCompEM().UpdatePlugState();
3948 }
3949 }