Summary

public void ModifyContentForRifle(MyPhysicalInventoryItem item, Action<MyObjectBuilder_PhysicalObject> action, bool cloneIsForRestOfStack)

Other way of ModifyContent, it is created specifically for MyAutomaticRifleGun because of complexity of callbacks. Instead it would not force sync

Parameters