Removed GetType() from _00E_ClassMenuItemHandlerAliasScript
This commit is contained in:
parent
1cfacfadfc
commit
c04bfd830d
Binary file not shown.
@ -5,7 +5,7 @@ Actor Property PlayerREF Auto
|
|||||||
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
|
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
|
||||||
|
|
||||||
If akItemReference != None && akDestContainer == None
|
If akItemReference != None && akDestContainer == None
|
||||||
if akItemReference.GetBaseObject().GetType() == 26 || akItemReference.GetBaseObject().GetType() == 41
|
if akItemReference.GetBaseObject() as Armor || akItemReference.GetBaseObject() as Weapon
|
||||||
PlayerREF.AddItem(akItemReference, aiItemCount, true)
|
PlayerREF.AddItem(akItemReference, aiItemCount, true)
|
||||||
else
|
else
|
||||||
akItemReference.Disable()
|
akItemReference.Disable()
|
||||||
|
Loading…
Reference in New Issue
Block a user