Upload from upload_mods.ps1
This commit is contained in:
8
Scripts/Requirements/HoldingAmmoIndexIs.cs
Normal file
8
Scripts/Requirements/HoldingAmmoIndexIs.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
public class HoldingAmmoIndexIs : AmmoIndexIs
|
||||
{
|
||||
public override bool ParamsValid(MinEventParams _params)
|
||||
{
|
||||
itemValueCache = _params.Self?.inventory?.holdingItemItemValue;
|
||||
return itemValueCache != null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user