public void BlankModHook(Action <SilencerInstance, BlankModificationItem, Vector2, PlayerController> orig, SilencerInstance silencer, BlankModificationItem bmi, Vector2 centerPoint, PlayerController user) { orig(silencer, bmi, centerPoint, user); //ETGModConsole.Log("Blank hook ran"); if (user.HasPickupID(NeutroniumAmmoletID)) { //ETGModConsole.Log("HasID"); Projectile projectile2 = ((Gun)ETGMod.Databases.Items["black_hole_gun"]).DefaultModule.projectiles[0]; GameObject gameObject = SpawnManager.SpawnProjectile(projectile2.gameObject, centerPoint, Quaternion.identity, true); Projectile component = gameObject.GetComponent <Projectile>(); if (component != null) { component.Owner = user; component.Shooter = user.specRigidbody; component.baseData.speed = 0f; component.baseData.range *= 100; BulletLifeTimer timer = component.gameObject.AddComponent <BulletLifeTimer>(); timer.secondsTillDeath = 7f; user.DoPostProcessProjectile(component); } } }