fixes a bug in the code all I did was move the this.shootingEntity != null check into the first line theoretically an early exit should occur and it …