Removed GetType() from _00E_ClassMenuItemHandlerAliasScript

This commit is contained in:
Eddoursul 2024-02-13 09:41:14 +01:00
parent 1cfacfadfc
commit c04bfd830d
2 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Actor Property PlayerREF Auto
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
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)
else
akItemReference.Disable()