}
//Do custom melee hit detection
if(entityLiving instanceof EntityPlayer)
{
PlayerData data = PlayerHandler.getPlayerData((EntityPlayer)entityLiving);
data.doMelee((EntityPlayer)entityLiving, type.meleeTime, type);
}
}
return type.secondaryFunction != EnumSecondaryFunction.MELEE;
}