case BODY : case HEAD : case LEFTARM : case RIGHTARM :
{
//Calculate the hit damage
float hitDamage = bullet.damage * bullet.type.damageVsLiving * damageModifier;
//Create a damage source object
DamageSource damagesource = bullet.owner == null ? DamageSource.generic : bullet.getBulletDamage(type == EnumHitboxType.HEAD);
//When the damage is 0 (such as with Nerf guns) the entityHurt Forge hook is not called, so this hacky thing is here
if(!player.worldObj.isRemote && hitDamage == 0 && TeamsManager.getInstance().currentRound != null)
TeamsManager.getInstance().currentRound.gametype.playerAttacked((EntityPlayerMP)player, damagesource);